Commit a9ccf1e1 authored by Arunoda Susiripala's avatar Arunoda Susiripala

Make sure benchmark runs in the production mode.

parent 9320d9f0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"name": "next-bench", "name": "next-bench",
"scripts": { "scripts": {
"build": "next build", "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": "ab -c1 -n3000 http://0.0.0.0:3000/stateless",
"bench:stateless-big": "ab -c1 -n500 http://0.0.0.0:3000/stateless-big" "bench:stateless-big": "ab -c1 -n500 http://0.0.0.0:3000/stateless-big"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment