Extended version of widely accepted js-framework-bench for benchmarking Rad. 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 Rad.
You can check out latest published results at http://erlage.github.io/rad/benchmark-results.
Note: We're not here to claim that Rad is faster than 'this' or 'that'. The primary purpose of benchmarks is to discover bottlenecks that might accidently get introduced during development. Benchmarking Angular & React-JS alongside helps gaining an independent perspective about how well Rad 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
-
Add base and head version information in
run_compare.sh
. -
Run
sh run_compare.sh
Visit: http://localhost:8080/webdriver-ts-results/table.html on your machine to view results.
-
Make sure server is up:
sh spin_server.sh
-
Build frameworks:
sh build_frameworks.sh
-
Run benchmarks:
# benchmark keyed versions of Rad, React & Angular sh run_keyed.sh # benchmark non-keyed versions of Rad & React sh run_non_keyed.sh
-
After running, build results table:
sh build_results.sh
Visit: http://localhost:8080/webdriver-ts-results/table.html on your machine to view results.
Stefan Krause for creating js-framework-benchmark