Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

A comparison of the perfomance of a few popular javascript frameworks

License

Notifications You must be signed in to change notification settings

fullwebdev/benchmark

 
 

Repository files navigation

FullWeb.dev benchmark

Benchmark VanillaJS rendering approaches and compare them with microlibraries and popular frameworks.

About the benchmarks

For all benchmarks the duration is measured including rendering time.

This project focus on VanillaJS suboptimal implementations (named vanillajs-<something> in the frameworks/keyed and frameworks/non-keyed directories) in order to compare different approaches.

js-framework-benchmark contains a lot more implementations, as it focus on frameworks and libraries instead of VanillaJS. We removed those in order to ease readability & builds, but the logic stays globally the same.

more details here and here

Results

🚧 Work In Progress

Temporary Results

more results here

Building & running

prerequisites

npm install
npm run lerna-bootstrap
npm run lerna-build-all
cd ./webdriver-ts
npm install
npm run build-prod
cd ../webdriver-ts-results
npm install

benchmark

Make sure all benchmarks are run in the same exact context. For that, we recommend to restart your computer and to only run the following commands.

  1. Run the HTTP server: npm start
  2. (in webdriver-ts) run some benchmarks
    • all: npm run bench
    • just one: npm run bench (keyed|non-keyed)/<project-name>
    • all VanillaJS: npm run bench -- --framework vanillajs

open http://localhost:8080/webdriver-ts-results/table.html

See How to get started

About

A comparison of the perfomance of a few popular javascript frameworks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.9%
  • HTML 6.6%
  • TypeScript 5.0%
  • Less 2.7%
  • Rust 0.5%
  • Vue 0.2%
  • Other 0.1%