Skip to content

Jaspr Benchmarks (Fork of Rad Benchmarks)

Notifications You must be signed in to change notification settings

schultek/jaspr-benchmarks

Repository files navigation

Jaspr - Benchmarks

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.

Results

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.

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 only Jaspr

  1. Make sure server is up:

    sh spin_server.sh
  2. Build Jaspr:

    sh build_jaspr.sh
  3. Run benchmarks:

    # benchmark only Jaspr
    sh run_jaspr.sh 
  4. 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.

2. Benchmarking two versions of Jaspr

  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/dist/index.html on your machine to view results.

3. Benchmarking Jaspr against React & Angular

  1. Make sure server is up:

    sh spin_server.sh
  2. Build frameworks:

    sh build_all.sh
  3. Run benchmarks:

    # benchmark Jaspr, React & Angular
    sh run_all.sh 
  4. 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.

Credits

Stefan Krause for creating js-framework-benchmark

About

Jaspr Benchmarks (Fork of Rad Benchmarks)

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • Less 61.6%
  • JavaScript 30.9%
  • TypeScript 2.3%
  • Dart 2.2%
  • Shell 1.1%
  • HTML 1.1%
  • CSS 0.8%