gjtorikian / jekyll-last-modified-at

A Jekyll plugin to show the last_modified_at time of a post.
MIT License
242 stars 39 forks source link

Perf: only log latest commit #71

Closed bkeepers closed 4 years ago

bkeepers commented 4 years ago

This limits the output of git log to only show 1 commit instead of the entire history of commits. In my unscientific testing, this resulted in a 33% performance increase on a very large site (10,000+ pages)

andreas-bulling commented 4 years ago

please accept pull request asap - this is a small but great improvement

gjtorikian commented 4 years ago

Thanks!