Firefox 9 Released, JavaScript Performance Greatly Improved
MrSeb writes "Firefox 9 is now available — but unlike its previous rapid release forebears where not a lot changed, a huge feature has landed with the new version: the JavaScript engine now has type inference enabled. This simple switch has resulted in a 20-30% JS execution speed increase (PDF), putting JaegerMonkey back in line with Chrome's V8 engine, and even pulling ahead in some cases. If you switched away from Firefox to IE or Chrome for improved JS performance, now is probably the time to give Firefox another shot."
Mozilla really screwed up both their long-time users and new users. There really haven't been good improvements in a long time. Most of their time has went to making it more Chrome like, and playing with version numbers.
I've seen many old Firefox users change their engine, on top of those that have been using IE. They aren't using Firefox, they're using Chrome or RockMelt now. Especially RockMelt is an interesting browser - it completely abandons geeky stuff like NoScript or Adblock but instead caters to casual, normal people and how they use the internet. RockMelt has online Facebook friends directly on the site, along with recent news and updates from all social networks. It lets you easily add social bookmarks to sites like Reddit and Digg, along with sharing to Facebook and Twitter. Most people have been saying how wonderful it is compared to Firefox. It's an browser that actual people want.
Speed was only half the issue that drove people away, the actual rapid releases and incompatibilities with add-ons with these releases among other things.
Every time I hear of a small or big release, they mention huge speed improvements in JS. Every time they put amazing speed increase percentages, such as this 20 - 30%...
I just don't get it..
Is JS really that bad?
Is Firefox's JS handling really so awful that one sees such `improvements` with every release?
And tbh, since the ol' days of FF 3.x, as a front end normal user, I can't really see such drastic improvement - if any - with webpages that have JS, especially the ones that have JS poorly coded into them (the vast majority...). It's still excruciatingly slow to load, refresh, and even drag the page up and down, with teeth-grinding latency and jerkiness...
But I stand corrected... but just an opinion form an ex user...
What are your comments? I'm interested to know..
Are the memory leaks gone? Probably not...Then any performance improvements are useless anyway.
...then you're probably still dealing with the fallout from that time when you switched your brain for a sponge
.... you don't even have a rough idea of how big the changes are , whether there will be compatability issues and so forth. I'm sure the coders have done a good job but whatever marketdroid imbecile thought that every new release must have a major version number markup should frankly be shot. And then forced to use IE 6 for the rest of his days.
after playing with Firefox 9 on Mac for half an hour, we’re not sure what this entails — leave a comment if you find out
LOL. I'm guessing it's back and forwards navigation, anyone know?
368m for three tabs, really Firefox what gives. Let alone on both my Mac and W7 machines it has started to freeze on occasion to the point I actually have force quit it instead of waiting for it to wake up.
They are pulling a Netscape 4.xx lately and that isn't a good thing.
* Winners compare their achievements to their goals, losers compare theirs to that of others.
At work I use FireFox(3.6.x) for some websites and Chrome for others. IE when forced to :)
At home I use FireFox for most websites and Chrome with no desktop or start menu icon for other websites. Sure we can share a login and desktop and you can see the web history dear.
Looks like its actually just a Beta for Firefox 9?
It's about time, the performance of Firefox has suffered greatly the last few version. even the right click on a link to show the drop down menu takes several seconds on a 2 GB mac mini (2009 model). At the moment Chrome is the best choice performance wise, but I prefer Firefox.
Almost time to play "plug-in roulette". Which ones will work, which ones not? Where the compatibility is, no one knows!
Still this is just a Beta, maybe I'm being overly pessimistic.
I don't think it's as bad as you make out. I get the impression that version numbers were to be depreceated and replaced with the terms Beta; Aurora and Nightly. Features would be mentioned as landing on Nightly/Aurora, appearing in users' browsers in so many weeks time. Releases themselves (every 6 weeks) aren't news in themselves. If Firefox developers communicate this clearly to reporters, then perhaps perceptions will change.
If users would still benefit from version numbers (e.g. for tech support), then I have a suggestion to make:
Next year, Firefox will be releasing version 12. On that version, there's the option of transitioning to a date-based system, with major versions following the year, and minor versions being incremented every 6 weeks. After version 11, the 1st release with this format would be 12.1; the 2nd release, 12.2; and so on. Here's how it looks like in practice:
* 10.0 January 31, 2012
* 11.0 March 13, 2012
* 12.1 April 24, 2012
* 12.2 June 5, 2012
* 12.3 July 17, 2012
* 12.4 August 28, 2012
* 12.5 October 9, 2012
* 12.6 November 20, 2012
* 13.1 January 1, 2013
Switching to a date-based system has the advantage that users will know what the current version is without having to report it, as the year corresponds to the version. Firefox in 2012 would be referred to as version 12. Reporters would focus on new and upcoming features in Firefox primarily, so that stories have a talking point and posters' comments are pertinent, primarily focused on features and improvements.
An example of an open source group who uses a similar format is Ubuntu (who base the version on the year, and the minor version on a 6 month schedule). Versions matter with this format; but there's still a sense of progression. We know what the version will be in 3 years time - even if we don't know what the features will be. Now try to imagine what Firefox's version would be with the new system, compared with the old one.
Consider that this is an issue that would involve a minor change; would benefit users and reporters (reducing confusion); and improve the quality of comments (on Firefox itself), then I think that Firefox developers will be pleasantly surprised with the results.
If they do want to focus more on development than on numbers, they would benefit by switching to a date system. I hope that some of the Firefox developers read this, as the value of changing merits the effort involved.
Firefox > help > about> "firefox 8.0 checking for updates... firefox is up to date"
www.getfirefox.com
good news your firefox is up to date
tfa
Firefox Beta Release Notes
(1.21 gigawatts) / (88 miles per hour) = 30 757 874 newtons
*knock*, knock*
"Who's there?"
(Very long pause...)
"Firefox."
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/9.0/ says it is not available just yet.
its 8eader5 and
Firefox devs sure are doing a good job!
that both users are glad for this news.
Eventually, I tripled my firefox: 3.6 > 9.0beta. It seems very good...
It's not the Javascript performance that makes people switch to another browser, it's the sluggish user interface. It has always been.
For example, try clicking a menu item (File, Edit, View, etc.), and moving the pointer as fast as you can through the other menu items. CPU usage jumps to well over 50%. It pretty much illustrates how awfully SLOW the user interface is. Chrome and Safari aren't that much faster, they just *feel* a hell lot faster.
Even more reason for clueless webmonkeys (but I repeat myself) to throw more gratuitous and outright senseless js at their produce. That this slows down everyone who doesn't have the latest hardware or software or, yanno, actually have to fetch the thing over a shitty network, they'll never notice.
We really do need more people with clue and far more slow machines and shitty network( emulator)s to check just how many cycles a website is throwing away for no gain. Hiding behind a faster js implementation is _not_ acceptable, no matter how impressive the technology.
After reading most of the comments, and not finding many giving praise to a new release of an awesome browser, I thought I would give my thanks.
I personally don't give much worry what version they are, most of my addons work, and the ones that don't I'm geeky enough to be able to edit the RDF file in the zip to fool Firefox into installing it. (If you put a * in the version, your sorted forever until it breaks, which it probably wont).
Increased javascript perf is always welcome, memory management fixes are also good (but ram is cheap so its not a huge issue).
So, thank you to all the Mozilla devs who work hard on their products, it is much appreciated.
I'm looking forward to the new graphics subsystem in the next few releases, and a bit of threading would be good but I realise its very hard to retrospectively design that into such a big application.
Firefox is coded by a few rank amateurs. I tried to give the main coder advice on memory leaks in 2006 but to no avail.
There are, what? 5 firefox devs now? 3? Back in the day, all the Mozilla devs were supposed to jump on ship when the Mozilla browser (remember that?!) development ended. What they saw was a horrible code base and code monkeys on the top unwilling to listen to their seasoned advice.
The result? 5 years later, Firefox is still being coded by the same handful of monkeys; their browser is worse than ever; and all the real development is happening in Gecko. Firefox is just a shell around Gecko, and a bad one, too, considering how much better the *real* Mozilla developers' browser -- SeaMonkey -- is.
You're just stupid, then.
The score of Chrome devs are leagues beyond the handful of Firefox monkeys.
How is it possible that the default installation of Firefox does not include a setting to disable plugins? Opera and Chrome have this nifty feature where you can start plugins individually by request.
23 tabs over two windows and FF3.6 is using a working set of 358MB. I swear I've never seen the rabid memory problems that every other FF user apparently gets.
When do we get the process separation promised in 2009?
Oh, that's right, Mozilla doesn't care about security or stability. So they put that "on hold" for eternity.
Let's hear about it when they do something serious.
I don't use chrome, simply because I can't press tab to cycle through my history in the omnibox, this is a 100% show-stopping feature that I need. And I refuse to use the arrow pad, because its simply not natural. Also I tend to have 30+ tabs open in a single window, in chrome they just shrink and shrink until I can't see what any of them are, but in firefox I can use tab mix plus extension and voila now I have tabs wrapping onto multiple lines.
Since when is beta is now "available"? We had access to FF9 via nightly for a long while...
I thought inference was mandatory in a dynamically typed language.
Having to work for a living is the root of all evil.
Once I found NotScripts, I recently switched to Chrome and found perceived speed decrease in loading. It might be due to a different order of loading visual elements (different from what I used to), so I pay attention to this.
I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
I've always ran Firefox and still do, but I have to say. My plugins stop working almost every time they update these days. It makes me use Firefox less and less.
The best thing about Firefox was that it viewed sites that other browsers didn't (not talking about IE here) and it's plugins. Firefox could do every thing. Now, each release it breaks everything. :/
Fix the startup speed. Remember when Firefox was a more responsive Netscape Navigator? Now ff is the new sluggard and chrome is the new Firefox.
I don't care about JS speed
I don't care about rendering speed
I care about the number of seconds that elapse between clicking the icon and interacting with the window. By this metric, IE 9 blows, ff is almost as bad, and chrome is acceptable (but getting worse).
No: in fact, very few runtime-typed languages support type inference. What happens instead is that the value gets tagged with a type. E.g., in Python, when I type "x = 3", the variable x has no type attached to it, but the value 3 has the type 'int' attached to it. When the system needs to know type information, it queries the value.
Type inference is a little bit of a hard thing to do in runtime-typed languages. Not impossible, but ... interestingly wacky. Basically, the runtime environment has to be able to make a formal mathematical proof that "there is no code path in which this variable can point to any type of value except an 'int'", or what-have-you. If it's able to do that, then it might be able to optimize access to that value in ways that normal runtime typing can't. E.g., if you know something is always going to be a 32-bit integer, why not store it as a native primitive, rather than wrap it up in an object and have all the associated object overhead? That sort of thing.
Hope this helps!
What are the chances this version of Firefox could be a lump of coal in the Christmas stocking?
It's not just you, I don't get them either.
Why on Htrae would me not stayed on IE in future?
... code bloat is.
Apparently a product that is still in beta is considered a 'release'.
They need to get as many bug fixes / new features in as they can while Google is still funding them. Once it has stopped Firefox will become the Netscape 4.7 of web browsers. That is unless Microsoft steps in and picks up the funding.
Its because you dont have retarded memory leaking addons.
I could have sworn Asa or one of the other devs released a blog post when 3.0 came out titled something like "Turn off your damn broken addons before complaining about memory".
368m for three tabs, really Firefox what gives.
How many links have you followed? Firefox saves those in case you want to go Back. How many tabs and windows have you closed recently? Firefox saves those in case you want to reopen tabs (Ctrl+Shift+T) or windows (Ctrl+Shift+N). Which extensions are you using? Can you try disabling one, reopening those three tabs, and checking the memory usage? If so, an extension may have a defect that should be reported to the extension's developer. And how much RAM are other programs using? Is it causing your computer to dip into swap, and if not, why worry about it?
One is "on the Internet" when interacting with an application that connects to another computer through sockets. This is true even when reading e-mail in a native MUA (that is, not webmail) or playing World of Warcraft. Do home PC operating systems provide a way to combine "history" from Chrome, IE, Firefox, Opera, Thunderbird, WOW, and every other program that opens sockets?
Install the add-on called "Add-on Compatibility Reporter" and you won't have to manually edit things anymore. Things just work; i installed it around version 5 and every time Firefox updated, 99% of the add-ons that used to say "incompatible" actually worked just fine. (Btw, despite its name, you don't have to report a thing).
In fact, i remember only 1 add-on not working (simply had no effect), which is the one to force youtube videos use a certain quality/resolution, nothing critical.
As someone else said here, all the Firefox bashing must come from people using other browsers. Fine with me, I stay with Firefox, i hate the way Chrome takes over the processor and memory; it may start fast, but later makes the system slow down to a crawl, unless you stick to use a single tab or something...
Firefox might not release memory aggressively while in use, but with the session saved (remember to use Options -> General -> Startup -> Check "Don't load tabs until selected" ) restarting the browser takes no time, and with the Lazarus add-on, you don't even lose anything you have typed in text boxes... I just close the browser when i don't need it knowing everything comes back quickly where i left when its opened again. I also disabled hard disk cache (browser.cache.disk.enable false) memory cache is good enough.
The only thing i would wish Mozilla team to do, is to switch to date based versioning, Ubuntu style (year.month) instead of nonsensical number increases, only a human perception thing. Their LTS plan should address the enterprise concern.
Artix
Your Linux, your init.
With an enormous effort a crappy language can be made to run very slowly instead of incredibly slowly.
Interesting.
Watch this Heartland Institute video
For this joke: "If you switched away from Firefox to IE [...] for improved JS performance"
It's often due to buggy plugins. The problem with Firefox's single process model is if a plugin or Firefox leaks, you often can't free up memory by closing windows or tabs. You have to close everything.
In contrast even though Google Chrome might actually leak more, you can usually just close the offending tab, and the memory is freed up. You can even reopen the tab without having to log in again. So if a page gradually leaks memory, you can close it once it gets to big and reopen it again. All without losing sessions in your other tabs/windows.
One might say "Don't use those plugins then". But without those plugins there might be no other reason to use Firefox instead of some other browser.
So now Javascript is executed before it is downloaded to improve speed even more.
Opera's way ahead on that:
Technically, what has to be proved is "for all code paths we can identify if the value is not an int." And then it can provide a backoff/error handler case when the value isn't an int. The issue is that typically the the error handler is significantly slower than doing it the naive way. So there is a cut-off point where the optimization because a net win, and generally you need some amount of profiling/feedback to correctly identify that cut-off.
no comment
...can I just expect all the sites already bloated with slow, broken JavaScript to just increase said cruft by 20-30% to take advantage of this?
Liberty in your lifetime
WTF?!? after a long time i thought lets try firefox again and the windows exe for the beta is fricking 15mb?!?! i remember and long for simpler times when it was justa 4-5mb download *sigh* no wonder its so fucked up nowadays.
Wealth is the gift that keeps on giving.
...and again dozens of people proclaiming their chrome use.
This really just comes off as hardcore astroturfing. Why would anyone use a web browser made by an advertising company? _At least_ use chromium and disable the questionable options.
Most of the complaints against Firefox are bogus anyway. People mentioning rendering speed, add-on breakage, start-up time (wtf!), memory usage, slow UI performance. Rendering speed and performance are negligible between browsers nowadays. It just looks like all the complaints are either not true at all or most likely user error related.
What's going on?
Download link for Firefox 9.0 (en-US): http://download.mozilla.org/?product=firefox-9.0&os=win&lang=en-US
Just accumulate more changes and let a stable release sink in for a longer time.
Firefox made that the default somewhere back in version 4. Eliminating the menu bar was version 3.something. (Much to the horror of people too dumb to right-click on empty space and tick/untick those changes.) Somewhere around then they eliminated the add-on bar at the bottom of the screen. You can even turn off the Navigation bar, which leaves you with the tabs-on-title bar and the render-window and that's it. How much more space can you get?
(However, I don't use Linux, so you may be talking about something OS specific.)
Science is all about firing a drunk pig out of a cannon just to see what happens.
So I really really do not want to use Firefox at all due to security risks of Java 6.
In IE I have it disabled in the internet zone so it never executes. To my pleasant surprise Chrome does not enable it by default even if it is installed as of Chrome 16. Until that is fixed Firefox is going to stay off. I see the loading Java applet A LOT in porn sites trying to exploit my system.
Flash has many vulnerabilities too and is almost as bad. At least you can block flash a little bit or Chrome will automatically update it for you for security purposed. Unfortunately it makes it more crash prone in youtube.
http://saveie6.com/
I haven't used Firefox for long, but my experience was that in order to keep the browser lightweight many basic features (like mouse gestures or being able to disable scripts) were stripped from it, available only in addons. So, while the browser alone doesn't use much memory, you are effectively being forced to use 3-5 addons to achieve a normal functionality. And that means it will consume a lot of memory.
I think I will wait for Firefox10 - I heard it's going to be out early next week.
You can disable the java plugin in the Add-ons Manager. Just go to the "Plugins" and disable the java plugin.
Why wait for Firefox to be good again when you can join the IE6 master race.
The only reason for me to stay with FF over the last years was Opera not working correctly with /. Last week I updated my Opera to 11.6 and wow, / working as it was meant to be :-) FF has become way to slugish as an application and a few milliseconds more or less faster with javascript while browsing doesn't really give me the 'Zwitserleven' feeling....
Also try using the Vertical Tabs extension. Makes much better use of horizontal screen space: You can read tab titles even when you have ooodles of them open and doesn't waste precious vertical space.
I installed it on the desktop connected to the (1080p) TV because of Angry Birds. They released an HTML 5 version to promote the browser.
I tried it out at work, brought it home.
Chrome doesn't annoy me with updates and incompatibilities. It's easy, it's simple. FireFox is a language (XUL) written in another language (C/++), and a memory or disk hog.
I don't care how it does stuff, I want my browser to show stuff quickly. IE doesn't, FF doesn't, Chrome does. Click, boom, book it, done.
test
Let me know when Firefox make tabs independent. Having one tab freeze the entire Firefox made me move to Chrome. It happened WAY too often. Oh, and the crashes.
clearing my mod
Firefox 9.0.1 is already released. LMFAO. No joke, go check their site.
Nice additional side effect of the rapid-release bullshit... have a bug apparently so critical that you have to release a minor point/bug fix version just one fucking day later. ONE god damn day. Maybe if they would spend some extra time between "major" version releases, you know, for testing and shit, things like this wouldn't happen.
Profile manager is broken.. No real way to have multiple profiles running, while allowing URL to be opened in any of them
Per my subject-line above: http://waterfoxproj.sourceforge.net/ & enjoy!
APK