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.
Test 2. Crayon On, Capture “‘pre’ tag”
All plugins: 0.651s, Crayon: 0.515s.
Test 3. Crayon On, DO NOT Capture “‘pre’ tag”
All plugins: 0.382s, Crayon: 0.156s.
Test 4. Crayon Off
All plugins: 0.168s.
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?
- The topic ‘[Plugin: Crayon Syntax Highlighter] Crayon Performance Issue’ is closed to new replies.