[x] Unit or Functional tests are included in the PR
Description:
Currently benchmarks do not work as expected. Running npm run benchmark doesn't complete. This PR fixes that so that benchmarks run correctly. It also:
Adds build as a npm script
Allows headless and regular running of benchmarks as npm scripts
Replaces the benchmark shell script with a JavaScript file for cross-compatibility
Type: Bug
The following has been addressed in the PR:
prettier
as per the readme code style guidelinesDescription:
Currently benchmarks do not work as expected. Running
npm run benchmark
doesn't complete. This PR fixes that so that benchmarks run correctly. It also:Resolves #928