Slow JavaScript in My Browser?
I look at a case of finding bad performance in ECMAScript/Javascript benchmarks, leading to a hunt for what's wrong with my browser.
- Kraken: 12008ms
- V8: 1522
- Kraken: 59363ms
- V8: 583
- Iceweasel with my original profile:
- Kraken: 12008ms
- V8: 1522
- My local build:
- Kraken: 3612ms
- V8: 5476
- Official Firefox 9 beta:
- Kraken: 3439ms
- V8: 6324
- Kraken: 3711ms
- V8: 5696
- Kraken: 3693ms
- V8: 5691
Is Firebug killing javascript performance after TI landed for anyone else? I tried updating to the latest stable Firebug 1.8.2 and then to 1.9.0a1 but it still slows down v8 benchmark by ~4x and sunspider by ~2x. I made sure that Firebug’s javascript profiling is disabled (with Firebug profiling enabled v8 is ~10x slower).So, the current vintage of Firebug has some issues with the changes to JavaScript. That’s unfortunate, but knowing is half the battle. In retrospect, I should have tested with a fresh profile before worrying about other builds of Firefox, as it would have highlighted the source of the problem much faster, but I was thrown off by the really bad performance in safe-mode, which led me to believe it couldn’t be an add-on. For the time being, I am going to keep Firebug on, but if I run into pages that seem slow, I can always turn it off.