1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Make sure benchmark runs in the production mode.

This commit is contained in:
Arunoda Susiripala 2017-10-29 04:25:32 +05:30
parent 9320d9f006
commit a9ccf1e147

View file

@ -2,7 +2,7 @@
"name": "next-bench",
"scripts": {
"build": "next build",
"start": "npm run build && next start",
"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"
}