Skip to content

Commit

Permalink
Merge pull request #47 from PacktPublishing/autocannon
Browse files Browse the repository at this point in the history
fix: autocannon scripts
  • Loading branch information
packt-simrana committed Apr 24, 2023
2 parents 4f5346e + abea8c7 commit 159bac7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Chapter 13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"mongo:start": "docker run -d -p 27017:27017 --rm --name fastify-mongo mongo:6",
"mongo:stop": "docker container stop fastify-mongo",
"performance:assessment": "autocannon -d 20 -c 100",
"clinic:doctor": "clinic doctor --on-port 'autocannon -d 20 -c 100 http://localhost:3000/todos' -- node index.js",
"clinic:flame": "clinic flame --on-port 'autocannon -d 20 -c 100 http://localhost:3000/todos-flame' -- node index.js",
"clinic:heap": "clinic heap --on-port 'autocannon -d 20 -c 100 http://localhost:3000/todos-heap' -- node index.js",
"clinic:bubble": "clinic bubble --on-port 'autocannon -d 20 -c 100 http://localhost:3000/todos' -- node index.js"
"clinic:doctor": "clinic doctor --on-port 'autocannon -d 20 -c 100 http://127.0.0.1:3000/todos' -- node index.js",
"clinic:flame": "clinic flame --on-port 'autocannon -d 20 -c 100 http://127.0.0.1:3000/todos-flame' -- node index.js",
"clinic:heap": "clinic heap --on-port 'autocannon -d 20 -c 100 http://127.0.0.1:3000/todos-heap' -- node index.js",
"clinic:bubble": "clinic bubble --on-port 'autocannon -d 20 -c 100 http://127.0.0.1:3000/todos' -- node index.js"
},
"keywords": [],
"contributors": [
Expand Down

0 comments on commit 159bac7

Please sign in to comment.