repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump fastify
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express-cluster
/
package.json
diff --git
a/examples/typescript/http-server-pool/express-cluster/package.json
b/examples/typescript/http-server-pool/express-cluster/package.json
index 3ebddda3a83b982e2584294a3999e991bc77cd5d..ddde88486c3b35afa3000eef08088a812c5975fb 100644
(file)
--- a/
examples/typescript/http-server-pool/express-cluster/package.json
+++ b/
examples/typescript/http-server-pool/express-cluster/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": "",