X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-cluster%2Fpackage.json;h=56c977bcc799373234854949951b4b9de2c30a2f;hb=2b6c61ecf5621c17b7c5f6d01b9149eaba4c21a2;hp=3ebddda3a83b982e2584294a3999e991bc77cd5d;hpb=292d795cafe9cf2f7d6b9d54281a06ffa3172191;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-cluster/package.json b/examples/typescript/http-server-pool/express-cluster/package.json index 3ebddda3..56c977bc 100644 --- a/examples/typescript/http-server-pool/express-cluster/package.json +++ b/examples/typescript/http-server-pool/express-cluster/package.json @@ -7,15 +7,15 @@ "type": "module", "volta": { "node": "20.5.1", - "pnpm": "8.7.0" + "pnpm": "8.7.1" }, "scripts": { "build": "rollup --config", "start": "node dist/main.cjs", - "start:esm": "node dist/main.mjs", + "start:esm": "node dist/main.js", "test": "echo \"Error: no test specified\" && exit 1", - "benchmark:echo": "autocannon -c 60 -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 60 -d 30 -p 10 http://localhost:8080/api/factorial/30" + "benchmark:echo": "autocannon -c 100 -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 100 -d 30 -p 10 http://localhost:8080/api/factorial/30" }, "keywords": [], "author": "",