Nuxt/benchmarks
pooya parsa dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00
..
pages
package.json feat: support plug-and-play, typescript runtime and native modules (#8389) 2020-12-22 18:07:50 +01:00
README.md

Nuxt server-side benchmarks

Taken from Next.js benchmarks, if you like React, we recommend you to try Next.js.

Installation

Follow the steps in CONTRIBUTING.md.

Both benchmarks use ab. So make sure you have it 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