Hello.
Thanks for this excelent work. I've used Crayon for a long time and can't blog without it now.
But recently I found there's some performance issues about Crayon, which may slow down the page load. Unlike other syntax highlighter plugins, Crayon likely use more resouce.
I use P3 (Plugin Performance Profiler) to test on my site. This is the report:
Test 1. Crayon On, Capture "'pre' tag"
All plugins: 0.726s, Crayon: 0.573s.
http://i49.tinypic.com/30jrztt.png
Test 2. Crayon On, Capture "'pre' tag"
All plugins: 0.651s, Crayon: 0.515s.
http://i48.tinypic.com/245edyw.jpg
Test 3. Crayon On, DO NOT Capture "'pre' tag"
All plugins: 0.382s, Crayon: 0.156s.
http://i47.tinypic.com/24qn4oz.png
Test 4. Crayon Off
All plugins: 0.168s.
http://i48.tinypic.com/2n6rqdj.png
From this report, it's obviously Crayon use 3 times more resouce than all the 17 plugins I installed (especially when 'capture 'pre' tag' turned on). I think this could be a problem. Any plan to optimize it?
Regards,
David Pi