/rad-benchmarks

Rad Benchmarks using js-framework-benchmark

Primary LanguageLess

Rad - Benchmarks

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.

Results

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.

Running Benchmarks

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.

1. Benchmarking two versions of Rad

  1. Make sure server is up:

    sh spin_server.sh
  2. Add base and head version information in run_compare.sh.

  3. Run sh run_compare.sh

Visit: http://localhost:8080/webdriver-ts-results/table.html on your machine to view results.

2. Benchmarking Rad against React & Angular

  1. Make sure server is up:

    sh spin_server.sh
  2. Build frameworks:

    sh build_frameworks.sh
  3. 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 
  4. After running, build results table:

    sh build_results.sh

    Visit: http://localhost:8080/webdriver-ts-results/table.html on your machine to view results.

Credits

Stefan Krause for creating js-framework-benchmark