jimsynz / hamlbars

Some extensions to HAML to allow generation of Handlebars templates.
https://github.com/jamesotron/hamlbars.git
MIT License
179 stars 43 forks source link

Suggestions on tuning Hamlbars performance? #54

Open robwierzbowski opened 10 years ago

robwierzbowski commented 10 years ago

Working on an app with ~30 medium sized hamlbars files, hamlbars takes 26 seconds to compile. We're running it as bundle exec haml -I. -r hamlbars, with Haml 4.x., from the command line.

Is this normal, or is there something we should be looking at/doing better? Our raw haml files are smaller, but proportionally compile much faster.

robwierzbowski commented 10 years ago

Although now that I look at the source code I think it might be because it's loading Sprockets/Tilt. Thoughts?