Skip to content

Commit a9ccf1e

Browse files
committed
Make sure benchmark runs in the production mode.
1 parent 9320d9f commit a9ccf1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bench/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "next-bench",
33
"scripts": {
44
"build": "next build",
5-
"start": "npm run build && next start",
5+
"start": "NODE_ENV=production npm run build && NODE_ENV=production next start",
66
"bench:stateless": "ab -c1 -n3000 http://0.0.0.0:3000/stateless",
77
"bench:stateless-big": "ab -c1 -n500 http://0.0.0.0:3000/stateless-big"
88
}

0 commit comments

Comments
 (0)