Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /