repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: refine autocannon parameters
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-hybrid
/
package.json
diff --git
a/examples/typescript/http-server-pool/express-hybrid/package.json
b/examples/typescript/http-server-pool/express-hybrid/package.json
index 261b2e2d2d8344326836db6113ff7097c1da2877..18c38580874727a909b49a89d1200c8d964d7728 100644
(file)
--- a/
examples/typescript/http-server-pool/express-hybrid/package.json
+++ b/
examples/typescript/http-server-pool/express-hybrid/package.json
@@
-14,8
+14,8
@@
"start": "node dist/main.cjs",
"start:esm": "node dist/main.mjs",
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node dist/main.cjs",
"start:esm": "node dist/main.mjs",
"test": "echo \"Error: no test specified\" && exit 1",
- "benchmark:echo": "autocannon -c
6
0 -d 30 -p 10 -m POST -H Content-Type=application/json -b '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:8080/api/echo",
- "benchmark:factorial": "autocannon -c
6
0 -d 30 -p 10 http://localhost:8080/api/factorial/30"
+ "benchmark:echo": "autocannon -c
10
0 -d 30 -p 10 -m POST -H Content-Type=application/json -b '{\"key1\":\"value1\", \"key2\":\"value2\"}' http://localhost:8080/api/echo",
+ "benchmark:factorial": "autocannon -c
10
0 -d 30 -p 10 http://localhost:8080/api/factorial/30"
},
"keywords": [],
"author": "",
},
"keywords": [],
"author": "",