README.md 381 Bytes
Newer Older
Filip Kováč's avatar
updates    
Filip Kováč committed
1
2
3
4
5
6
7
8
9
`npx clinic bubbleprof --autocannon [ -c 5 -a 500 /articles?url=sample-article-2 ] -- node ./dist/index.js`

`autocannon -5 -a 500 http://localhost:3000/articles`

`docker run -d --name sample-cms-mongo -p 27888:27017 -e MONGO_INITDB_ROOT_USERNAME=mongoadmin -e MONGO_INITDB_ROOT_PASSWORD=passwd mongo`

`docker start sample-cms-mongo`

`node NODE_V8_COVERAGE=./cov ./src/index.js`