A set of scripts to test markdown processing speeds in various site generators/frameworks.
Install each framework, a script is provided:
./install.sh
The first argument to each script is the number of pages (samples are provided for 250, 500, 1000, 2000, and 4000)
./bench-astro.sh 250
./bench-remix.sh 250
./bench-nextjs.sh 250
./bench-gatsby.sh 250
./bench-eleventy.sh 250
./bench-hugo.sh 250
./bench-eleventy.sh 250
./bench-eleventy.sh 500
./bench-eleventy.sh 1000
./bench-eleventy.sh 2000
./bench-eleventy.sh 4000
This result set was generated on a MacBook Air (M1, 2020), macOS Monterey 12.5, 16 GB memory.
Each test was given 3 runs and the best time of each set was selected. Times shown are in seconds.
Framework | 250× .md |
500× .md |
1000× .md |
2000× .md |
4000× .md |
---|---|---|---|---|---|
Astro 1.0.0-rc2 |
3.044s | 4.361s | 7.331s | 13.349s | 30.258s |
Eleventy 1.0.1 |
0.584s | 0.683s | 0.914s | 1.250s | 1.938s |
Hugo v0.101.0+extended |
0.071s | 0.110s | 0.171s | 0.352s | 0.684s |
Gatsby 4.19.0 (cli) |
14.462s | 15.722s | 17.967s | 22.356s | 29.059s |
Next.js 12.2.3 |
6.552s | 6.932s | 8.034s | 9.582s | 13.409s |
Remix 1.6.5 |
2.876s | 8.258s | 46.918s | 349.125s | > 1800s |
View these results in Chart form on Google Sheets.
This result set was generated on a MacBook Air (M1, 2020), macOS Monterey 12.5, 16 GB memory.
Best time of 5 cold (npm cache clean --force
before each) installs selected. Times shown are in seconds.
Framework | npm install |
---|---|
Astro 1.0.0-rc2 |
19.870s |
Eleventy 1.0.1 |
15.168s |
Eleventy 2.0.0-canary.14 |
7.195s |
Gatsby 4.19.0 (cli) |
68.516s |
Next.js 12.2.3 |
15.589s |
Remix 1.6.5 |
28.619s |
View these results in Chart form on Google Sheets.