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:
parent
9320d9f006
commit
a9ccf1e147
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue