JSmin versus JSmin+ performance difference

Dave Kinchlea - September 25, 2009 - 15:03
Project:Javascript Aggregator
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I decided to try out JSmin+ after upgrading as that seemed to be the suggested route. While I didn't notice it right away (as I was dealing with other performance issues) I recently discovered that JSmin+ was taking about 2 or 3 times longer to create the minimized file than the standard JSmin and as some of my pages can take 2 seconds to minify to start with, this was having a very negative effect for logged in users. This happened regardless of Gzip settings on a local host -- Apache process using 100% of CPU for the full 5-7 seconds, whatever it is that JSmin is doing, it is trying really hard :-)

I'm willing to help debug if there is any information you require ... but I'm pleased enough with the regular version I'm not looking to solve this issue myself.

 
 

Drupal is a registered trademark of Dries Buytaert.