c922c6a3f4
## Feature - [ ] Telemetry added. In case of a feature if it's used or not. ### Replace 'require' with 'import' in bench files Node.js 12 allows you to use `import`. ### Update dependancies https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md#breaking-changes > Require Node.js v12+ For #25761, Node.js 12 is required. Therefore, there is no problem updating it. For benchmarking purposes, it would be reasonable to update to the latest version.
14 lines
441 B
JSON
14 lines
441 B
JSON
{
|
|
"name": "next-bench",
|
|
"scripts": {
|
|
"build": "next build",
|
|
"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",
|
|
"bench:recursive-copy": "node recursive-copy/run"
|
|
},
|
|
"dependencies": {
|
|
"fs-extra": "10.0.0",
|
|
"recursive-copy": "2.0.11"
|
|
}
|
|
}
|