X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Ffastify-worker_threads%2Fpackage.json;h=79e636bc6f0f609213f18c59e0d728766304b22c;hb=6b9256aed546e8319cb3995d92c912331c3b8a03;hp=3361987485afdf3cc5825f3ba357767ebf973ead;hpb=752077f780caf7facfb567c604bdb70c19d08d0d;p=poolifier.git diff --git a/examples/typescript/http-server-pool/fastify-worker_threads/package.json b/examples/typescript/http-server-pool/fastify-worker_threads/package.json index 33619874..79e636bc 100644 --- a/examples/typescript/http-server-pool/fastify-worker_threads/package.json +++ b/examples/typescript/http-server-pool/fastify-worker_threads/package.json @@ -6,27 +6,27 @@ "main": "dist/main.js", "type": "module", "volta": { - "node": "20.5.1", - "pnpm": "8.7.0" + "node": "20.9.0", + "pnpm": "8.9.2" }, "scripts": { "build": "pnpm build:clean && tsc", "build:clean": "tsc --build --clean", "start": "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": "", "license": "ISC", "dependencies": { - "fastify": "^4.22.0", + "fastify": "^4.24.3", "fastify-plugin": "^4.5.1", - "poolifier": "^2.6.39" + "poolifier": "^3.0.5" }, "devDependencies": { - "@types/node": "^20.5.7", + "@types/node": "^20.8.9", "autocannon": "^7.12.0", "typescript": "^5.2.2" }