Download & Extend

JSmin versus JSmin+ performance difference

Project:Javascript Aggregator
Version:6.x-1.3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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.

Comments

#1

Category:bug report» feature request
Status:active» closed (won't fix)

Since the aggregated files are cached, this doesn't seem to break anything. Changing the category to feature request.

This is a problem of JSmin+, so it cannot be solved in Javascript Aggregator. Please contact the author of JSMIN+.

#2

I'm observing the same performance hit using JSmin+