developmentseed / developmentseed/jekyll-ga

Performance optimization

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
128
Forks
7
PR merge metrics
No merged PRs in 30d

Description

On large sites, this plugin gets slow in two places, eaching adding about a minute to render time on a complex site with about 500 posts.
- [Matching urls to posts](https://github.com/developmentseed/jekyll-ga/blob/master/jekyll-ga.rb#L54-L57)
- [Overriding the comparator](https://github.com/developmentseed/jekyll-ga/blob/master/jekyll-ga.rb#L65-L79), which is slow even when only returning the original function

Need to figure out how to optimize these.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.