-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: create package.json in benchmarks (#2766)
* chore: create package.json in benchmarks * update deps of benchmarks
- Loading branch information
Showing
4 changed files
with
37 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "benchmarks", | ||
"scripts": { | ||
"bench": "PORT=3042 concurrently -k -s first npm:bench:server npm:bench:run", | ||
"bench:server": "node ./server.js", | ||
"prebench:run": "node ./wait.js", | ||
"bench:run": "SAMPLES=100 CONNECTIONS=50 node ./benchmark.js" | ||
}, | ||
"dependencies": { | ||
"axios": "^1.6.7", | ||
"concurrently": "^8.2.2", | ||
"cronometro": "^3.0.1", | ||
"got": "^14.2.0", | ||
"mitata": "^0.1.11", | ||
"node-fetch": "^3.3.2", | ||
"request": "^2.88.2", | ||
"superagent": "^8.1.2", | ||
"wait-on": "^7.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters