You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent sometime today and tried to use memoist to modify jekyll-tagging to cache some functions such as add_tag_cloud hoping that my website will build faster.
It has a limited number of posts (50) and it takes around 9 second to build on a Core i5 2.5GHz CPU with plenty of RAM. If I disable jekyll-tagging it builds in 2.5 seconds. So 6.5 seconds are spent for building the tag pages.
By profiling with ruby_prof I realized there are some expensive functions in the code. One such function is replace_diacritics, another one is add_tag_cloud and some time is spent for looping over sequences here and there. My memoizing efforts were fruitless.
So the question is how we can improve the build performance? I appreciate any ideas.
The text was updated successfully, but these errors were encountered:
I spent sometime today and tried to use
memoist
to modifyjekyll-tagging
to cache some functions such asadd_tag_cloud
hoping that my website will build faster.It has a limited number of posts (50) and it takes around 9 second to build on a Core i5 2.5GHz CPU with plenty of RAM. If I disable
jekyll-tagging
it builds in 2.5 seconds. So 6.5 seconds are spent for building the tag pages.By profiling with
ruby_prof
I realized there are some expensive functions in the code. One such function isreplace_diacritics
, another one isadd_tag_cloud
and some time is spent for looping over sequences here and there. My memoizing efforts were fruitless.So the question is how we can improve the build performance? I appreciate any ideas.
The text was updated successfully, but these errors were encountered: