Skip to content

Commit

Permalink
Make sure benchmark runs in the production mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoda committed Oct 28, 2017
1 parent 9320d9f commit a9ccf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit a9ccf1e

Please sign in to comment.