Performance tuning

7 views
Skip to first unread message

Tobias Lütke

unread,
Jun 15, 2009, 4:43:34 PM6/15/09
to liquid-t...@googlegroups.com
I created a new performance directory in the liquid github that
contains a shopify compatibility layer and some real world liquid
templates. It's hooked up to ruby-prof and there is a rake task that
executes it all, renders the templates and loads the results into
KCacheGrind. I haven't had a lot of time to go through the results but
I already found some really good performance improvements.

Anyone who is interested in speeding up Liquid please have a look. If
you are on OSX you can install everything you need with the following
commands:


gem install ruby-prof

port install kdelibs3 kcachegrind
sudo -R chmod 777 ~/.kde

cd liquid

rake profile:grind


note that you have to have X11 for osx installed.


Regards
-- tobi

Reply all
Reply to author
Forward
0 new messages