domdomegg / benchmark-next-vs-nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

benchmark-next-vs-nginx

Benchmarking the performance of the Next.js server against nginx for static content.

Read the full blog article.

Usage

  1. Install Git and Node.js
  2. Clone the repository
  3. Install dependencies with npm install, and install k6
  4. Run the benchmark with URL_TO_TEST=http://localhost:8080/path-here/ npm start
  5. View results in results.csv

About

License:MIT License


Languages

Language:TypeScript 100.0%