refactor: refine autocannon parameters
[poolifier.git] / examples / typescript / http-server-pool / express-cluster / package.json
index 3ebddda3a83b982e2584294a3999e991bc77cd5d..ddde88486c3b35afa3000eef08088a812c5975fb 100644 (file)
@@ -14,8 +14,8 @@
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.mjs",
     "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": "",