rsnext/bench/package.json
2017-10-29 04:25:32 +05:30

9 lines
304 B
JSON

{
"name": "next-bench",
"scripts": {
"build": "next build",
"start": "NODE_ENV=production npm run build && NODE_ENV=production next start",
"bench:stateless": "ab -c1 -n3000 http://0.0.0.0:3000/stateless",
"bench:stateless-big": "ab -c1 -n500 http://0.0.0.0:3000/stateless-big"
}
}