rsnext/bench
Dale Bustad 5c24670227
Add Zipkin trace capturing with output to JSON. (#22106)
@timneutkens this adds a trace capturing script alongside the other tracing sundry.  This will be utilized by the performance automation.  Additionally, its nice to have an option other than running the ZipKin JAR to get at the raw data.
2021-02-12 09:10:07 +00:00
..
pages Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
readdir Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
recursive-copy Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
recursive-delete Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
capture-trace.js Add Zipkin trace capturing with output to JSON. (#22106) 2021-02-12 09:10:07 +00:00
instrument.js Update profiling approach to cover webpack runs (#20900) 2021-01-09 20:12:13 -05:00
package.json Replace recursive-copy with own implementation (#7263) 2019-06-06 12:33:11 +02:00
readme.md Move syntax formatting to prettier (#7454) 2019-05-29 13:57:26 +02:00

Next.js server-side benchmarks

Installation

Follow the steps in contributing.md

Both benchmarks use ab. So make sure you have that installed.

Usage

Before running the test:

npm run start

Then run one of these tests:

  • Stateless application which renders <h1>My component!</h1>. Runs 3000 http requests.
npm run bench:stateless
  • Stateless application which renders <li>This is row {i}</li> 10.000 times. Runs 500 http requests.
npm run bench:stateless-big