Extended version of widely accepted js-framework-bench for benchmarking Jaspr. Although js-framework-bench is great in its original form but it doesn't bench some cases such as adding or moving rows around etc. This repo includes scripts that extend js-framework-bench by including aforementioned cases and helps getting deep insights into the performance of Jaspr.
You can check out latest published results at https://jaspr-benchmarks.web.app/.
Note: The primary purpose of benchmarks is to discover bottlenecks that might accidentally get introduced during development. Benchmarking Angular & React-JS alongside helps gaining an independent perspective about how well Jaspr is performing compares to JS frameworks.
If running for the first time, build driver using sh build_driver.sh
.
❗ NOTE: Google Chrome will have to be installed for the benchmarks to run.
-
Make sure server is up:
sh spin_server.sh
-
Build Jaspr:
sh build_jaspr.sh
-
Run benchmarks:
# benchmark only Jaspr sh run_jaspr.sh
-
After running, build results table:
sh build_results.sh
Visit: http://localhost:8080/webdriver-ts-results/dist/index.html on your machine to view results.
-
Make sure server is up:
sh spin_server.sh
-
Add base and head version information in
run_compare.sh
. -
Run
sh run_compare.sh
Visit: http://localhost:8080/webdriver-ts-results/dist/index.html on your machine to view results.
-
Make sure server is up:
sh spin_server.sh
-
Build frameworks:
sh build_all.sh
-
Run benchmarks:
# benchmark Jaspr, React & Angular sh run_all.sh
-
After running, build results table:
sh build_results.sh
Visit: http://localhost:8080/webdriver-ts-results/dist/index.html on your machine to view results.
Stefan Krause for creating js-framework-benchmark