2017-07-10 00:48:49 +02:00
# Benchmarks
2022-01-29 19:43:58 +01:00
`[go]jekyll build` on an Intel Xeon E5620 @ 2.40GHz, running current versions of everything as of 2022-01-29.
2017-07-10 00:48:49 +02:00
Disable the cache by setting the environment variable `GOJEKYLL_DISABLE_CACHE=1` .
Disable threading by setting `GOMAXPROCS=1` .
2017-07-24 18:30:09 +02:00
SASS conversion and Pygments (`{\% highlight \%}`) are cached.
2017-07-10 00:48:49 +02:00
## Jekyll Docs
This site contains only one SASS file.
2017-07-24 18:30:09 +02:00
It contains a few instances of `{\% highlight \%}` .
2017-07-10 01:20:26 +02:00
Each of these results in a call to Pygment. This dominates the un-cached times.
2017-07-10 00:48:49 +02:00
2022-01-29 19:43:58 +01:00
| Executable | Options | Time |
|------------|-----------------|--------|
| jekyll | | 9.086s |
| gojekyll | single-threaded | 5.35s |
| gojekyll | multi-threaded | 2.50s |
## MadelineProto Docs
This site contains 1873 markdown files, and runs a modified version of the complex [Just The Docs theme ](https://pmarsceill.github.io/just-the-docs/ ), with many SASS files, sitemap, search index generation.
| Executable | Options | Time |
|------------|-----------------|------------------|
| jekyll | | Timeout @ 1 hour |
| gojekyll | single-threaded | 750.61s |
| gojekyll | multi-threaded | 142.16s |