# Help us benchmark Jekyll

**URL:** <https://talk.jekyllrb.com/t/help-us-benchmark-jekyll/1629>\
**Category:** Share\
**Created:** [March 23, 2018, 8:13pm UTC](https://talk.jekyllrb.com/t/help-us-benchmark-jekyll/1629 "2018-03-23T20:13:35Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Frank](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/frank/32/26_2.png) [@Frank](https://talk.jekyllrb.com/u/Frank)\
**Post date:** [November 12, 2018, 1:00pm UTC](https://talk.jekyllrb.com/t/help-us-benchmark-jekyll/1629/17 "2018-11-12T13:00:32Z")

</div>

👋 Jekyllers,

We’re still working on improving Jekyll’s performance.  
For people who suffer from slow builds, we’d be interested in testing:

- refactor your includes with `jekyll-include-cache` when possible
- use `liquid-c` gem to speed up Liquid parsing
- use `jekyll-commonmark` to speed up Markdown rendering
- test current jekyll `master` (make sure to exclude `.jekyll-cache` folder from Git)

Your `Gemfile` should therefore contain:

```ruby
gem "jekyll", github: "jekyll/jekyll" 
gem "liquid-c"

group :jekyll_plugins do
  gem "jekyll-include-cache"
  gem "jekyll-commonmark"
end

```

Then publish you site on a Netlify branch or any CI where you can use these gems (you can’t on GitHub Pages) and share the result.

I advised those to a friend of mine and its build went from 931s to 59s. The build outuput is exactly the same.  
I tested on Kong Documentation and build shrinked from 54s to 8.3s. Didn’t test the output.

This might conflict with existing plugins, if you encounter errors, we’re interested to know which plugins would benefit a fix to use our new cache API.

Here’s some documentation on what has already changed for plugins authors:

- [https://github.com/jekyll/jekyll/blob/master/docs/\_docs/upgrading/3-to-4.md#template-rendering](https://github.com/jekyll/jekyll/blob/master/docs/_docs/upgrading/3-to-4.md#template-rendering)
- [https://github.com/jekyll/jekyll/blob/master/docs/\_tutorials/cache\_api.md](https://github.com/jekyll/jekyll/blob/master/docs/_tutorials/cache_api.md)

Thanks for helping making Jekyll faster.  
The most notable gain should come from current `master` where we cache a lot

---

_[View the full topic](https://talk.jekyllrb.com/t/help-us-benchmark-jekyll/1629)._
