This is a baseline benchmark site in the Gabe project.
This site in particular tracks Markdown performance for individual files per page.
The site can generate an arbitrary amount of super simple pages. Each page has a small header, a quote, and two small paragraphs of random text. No images, because we want to benchmark Markdown.
Run yarn
or npm install
You can start a benchmark run like this:
N=1000 M=2 yarn bench
N=1000
: instructs the run to build a site of 1000 pagesM=2
: instructs nodejs to use up to 2gb of memory for its long term storage- Deletes generates files from previous run
- Generates
N
pages with pseudo-random content - Runs
gatsby clean
- Runs
gatsby build
The default yarn bench
will build 512 pages with 1gb memory.