https://bugzilla.wikimedia.org/show_bug.cgi?id=28626

--- Comment #23 from P.Copp <paul.copper...@gmail.com> 2011-07-06 21:40:52 UTC 
---
(In reply to comment #21)
> It's probably worth comparing jsmin+'s minification qualities to our current
> home-grown minifier; it sounds like just swapping to jsmin+ as a minifier 
> might
> be more robust (since it should be able to detect a JavaScript parse failure
> and throw an error that lets us skip the bad file) but we could also use just
> the parser as a verifier.
> 
AFAIR JsMinPlus had been considered as a minifier for Mediawiki but turned out
to be much slower than the alternatives, see bug 27691 for some benchmarks.

(In reply to comment #22)
> Unfortunately many of the test cases don't appear to be valid in the first
> place...
> 
Yeah, they weren't designed to be complete js programs, just little fragments
to test edge cases that are likely to be broken by other minifiers. Should be
straightforward to make them valid programs, though.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to