Skip to content

Commit

Permalink
Simple benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgodbolt committed Dec 24, 2023
1 parent 61a5d53 commit 18e8ebb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app-bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ async function main() {
benchmarkCpu(cpu, 100 * 1000 * 1000);
}

main();
main().then(() => {});
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
"test:integration": "mocha tests/integration",
"test:dormann": "node tests/test-dormann.js",
"test": "npm-run-all -p test:*",
"test-long": "npm-run-all -p test-long:*"
"test-long": "npm-run-all -p test-long:*",
"benchmark": "node app-bench.js"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
Expand Down

0 comments on commit 18e8ebb

Please sign in to comment.