1
0
mirror of https://github.com/danog/gojekyll.git synced 2025-01-23 07:41:13 +01:00

Caveat re benchmarks

This commit is contained in:
Oliver Steele 2017-07-05 17:02:58 -04:00
parent 50d8817efd
commit 2a6d7f5b4d

View File

@ -77,6 +77,8 @@ These will probably not change.
| gojekyll | single-threaded; warm cache | 0.61s |
| gojekyll | multi-threaded | 0.34s |
This isn't a fair comparison but Gojekyll doesn't use all the plugins that Jekyll does. In particular, `jekyll-mentions` parses each page's HTML. This could slow Gojekyll down once it's added.
There's currently no way to disable concurrency or the cache. They were switched off by re-building the executable to produce these timings.
In the multi-threaded case, whether the cache is warm or cold doesn't seem to matter.