[Plugin: Crayon Syntax Highlighter] Crayon Performance Issue
-
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.
https://i49.tinypic.com/30jrztt.pngTest 2. Crayon On, Capture “‘pre’ tag”
All plugins: 0.651s, Crayon: 0.515s.
https://i48.tinypic.com/245edyw.jpgTest 3. Crayon On, DO NOT Capture “‘pre’ tag”
All plugins: 0.382s, Crayon: 0.156s.
https://i47.tinypic.com/24qn4oz.pngTest 4. Crayon Off
All plugins: 0.168s.
https://i48.tinypic.com/2n6rqdj.pngFrom 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
- The topic ‘[Plugin: Crayon Syntax Highlighter] Crayon Performance Issue’ is closed to new replies.