News for hackers. Stuff that matters.
Re:V8 Optimization Killers by d0ugie on Wednesday June 25, 2014 @09:39AM (#7943760)
My team's developers, who are in a Firefox-only setting (so no V8 to consider), use every optimization/squishing trick they can find on github - grunt, browserify, uglifyjs etc - thinking that the smaller the number of javascript resources and the smaller those files are the faster the pages will not just download but also render.

Is it probable that SpiderMonkey and other engines suffer from forms of this deoptimization hell when rendering? And would it be a safe guess that whatever mod_pagespeed does to a page's javascript resources is less likely to result in this hell than these other tools? Thanks.

Re:V8 Optimization Killers by arcatek on Wednesday June 25, 2014 @09:45AM (#7943793)
The only size-related optimization that I can think of is that V8 doesn't inline functions (but does optimize them) when they are more than X characters long, comments included.

I'm not sure about SpiderMonkey, but they may very well use this kind of optimization too. However, I would guess that Uglifying files should not increase execution speed for any noticeable amount.

Re:V8 Optimization Killers by kevingadd on Wednesday June 25, 2014 @08:03PM (#7947455)
I'm not aware of any common minification techniques that hurt performance. They generally improve parser performance and reduce memory usage (less memory spent on line-ending data and script sources, for example)
Re:V8 Optimization Killers by driverdan on Wednesday June 25, 2014 @10:14AM (#7943968)
It's a good question but minification shouldn't cause runtime performance issues. Keep in mind that these are mostly micro optimizations when running outside a large loop. If you go from 1 mil ops per sec to 20 mil ops per sec your user won't see a difference unless the code is being run many times over.