Skip to content

laam-egg/js-testing-frameworks-benchmark

Repository files navigation

JS Testing Frameworks Benchmark

Idea

Borrowed from https://vitalets.github.io/js-testrunners-bench/index.html.

Frameworks to Benchmark

Run on your own Machine

Currently, only Linux platforms are supported. Install Node.js and npm first, then in the project's root directory, run:

npm install
npm run main

You can specify the number of sample times per case as the script's first argument (default is 3):

npm run main 10

More sample times, more accurate benchmark, but the script would take longer to run.

On the console: results are sorted in the order of increasing mean time, not total time.

Finally, the script also exports the results into the results/ folder. Currently, only HTML format is supported, and all the exported HTML files will reside in the results/html folder.