This is the first I've heard of it, but 1.9.2 is still young. The 1.9 series has had some speed problems with string manipulation in the past; it's possible that that's the issue. It's also possible that there's a broken regex somewhere in there that behaves poorly on the 1.9 regex engine. I'll check it out when I have a moment.
Are all Haml templates affected by the slowdown? If not, can you provide a simple example that is? On Wed, Aug 18, 2010 at 12:21 PM, Chris Hanks <[email protected] > wrote: > Hi - > > I'm building a Rails 3.0.0.rc app with Haml 3.0.16. I just upgraded it > from REE 1.8.7 to 1.9.2.p0 (which was released this morning), and the > time taken for my integration tests to run has jumped from 13 seconds > to almost two and a half minutes (!). > > It looks like Haml is the problem - I have simple templates (which > don't hit the database or anything) that previously rendered in ~12 ms > and now take ~110 - 130 ms. Other, more complex ones are worse - they > used to take ~35 ms and have jumped up to 600-700 ms. > > Has anyone else experienced this? I've searched a bit but haven't > found any other mention of it. > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
