News for hackers. Stuff that matters.
Re:Firefox Product Roadmap by abhiminator on Thursday March 22, 2018 @08:18AM (#16647928)
As a recent Firefox user, I'm super excited about the future evolution of the browser. I switched to Firefox Quantum after using Chrome as mainstay for over 9 years and I was absolutely BLOWN AWAY by the under-the-hood refinements and UX enhancements in v57.0 -- could clearly observe the impact of Gecko's upgraded Servo/Rust components at work.

Noticeable visible differences included page-load performance as well as a smaller memory footprint relative to Chrome.

Faster WebAssembly[0] starting from v58.0 made the speed optimization more visible -- it was at this point when I truly fell in love with the browser -- Firefox dethroned Chrome as my default. Add to this the hardened tracking protection, Greasemonkey's super massive stash of user scripts and values of the non-profit organization that supports the browser -- Chrome felt so old-school.

[0] https://hacks.mozilla.org/2018/01/making-webassembly-even-fa...

Re:Firefox Product Roadmap by executesorder66 on Thursday March 22, 2018 @08:45AM (#16648115)
> Faster WebAssembly[0] starting from v58.0 made the speed optimization more visible

How many websites do you visit (and which ones are they) that use WebAssembly?

Re:Firefox Product Roadmap by a9t9 on Thursday March 22, 2018 @11:08AM (#16649261)
I am not the op, but (faster) WebAssembly could turn out to be a big thing for browser extensions. For example, we are just in the process of adding WebAssembly powered image search to our Kantu Selenium IDE to allow for visual testing. We tried before with normal Javascript and even WebGL, but both results were not usable for various reasons. The websight page gave us new hope ;-) https://websightjs.com/
Re:Firefox Product Roadmap by stromgo on Thursday March 22, 2018 @01:05PM (#16650530)
Faster WebAssembly isn't listed on the roadmap, so you are disappointed, right?

Wasm is currently considered "around half as fast as native"[0]. The Wasm design, Emscripten compiler, and browser compilers all have a part of responsibility in this, but I suspect that browser compilers have the largest share. Mozilla created The WebAssembly Explorer[1] which shows good-looking ".wat", but bloated "Firefox x86 Assembly" compared to "LLVM x86 Assembly". I hope they intend to use this tool to improve Firefox x86 Assembly.

[0] https://github.com/WebAssembly/binaryen/issues/1070

[1] https://hacks.mozilla.org/2017/03/previewing-the-webassembly...

Re:Firefox Product Roadmap by joshstrange on Thursday March 22, 2018 @03:27PM (#16651865)
Hmm, on that website I got:

Chrome:

- WebAssembly: didn't load

- Asm.js: 50-60FPS

- JS: 2FPS

Firefox:

- WebAssembly: 30-40FPS

- Asm.js: 20-30FPS

- JS: 2FPS

I have the newest versions of both browsers.

Re:Firefox Product Roadmap by cptskippy on Thursday March 22, 2018 @10:53AM (#16649142)
As someone who has used Firefox as my default browser since it was called Phoenix, I can tell you that Quantum was a big step backward in terms of memory consumption and CPU utilization for Firefox.

On a Lenovo T450s sitting idle with 14 tabs across 4 windows, FF is now using 25-100% of the CPU and over 4GB of RAM. When I resume from Hibernation (on Windows) it can take up to 10 minutes for FF to settle down and for the system mouse to respond.

If that's an improvement from Chrome, then OMG you poor bastards who use Chrome as your daily.

FF seems to be fine on more powerful systems but on my lower spec'd laptops it's just a battery sucking lap warmer.

Re:Firefox Product Roadmap by Certhas on Thursday March 22, 2018 @11:23AM (#16649388)
If you experience a bug like that, report it!

People's mental model (Chrome fast, lean; Firefox slow, bloated) seem to really not update quickly. When Chrome hangs it's "That's weird, something must be broken, the website sucks" when it's Firefox "Well further proof the Firefox is terrible".

For the record, my 2012 MBA, which is probably weaker than your Lenovo, has no issues with Firefox at all.

Re:Firefox Product Roadmap by cptskippy on Thursday March 22, 2018 @11:56AM (#16649700)
I generally do report it and the bugs are generally addressed in followup releases of Firefox.

My remarks were not strikes against Firefox's performance, it's stellar, just that since Quantum it has become a resource hog to achieve that high performance.

Re:Firefox Product Roadmap by ksec on Thursday March 22, 2018 @01:01PM (#16650480)
The Lenovo here is running on Boardwell, that is the 14nm version of Haswell.

I am running on a 32nm SandyBridge, which is even older then the 2012 MBA, 22nm Ivy Bridge mentioned in the MBA post below. And due to some thermal issues, It is now capped to running at Max 2.2Ghz.

I am still trying to clean up my tabs, which is on a moderately high level of 299. Slightly lower then last weeks 380. Not all of them are active, may be only 40 tabs or so.

And needless to say, for lots of Heavy Tabs users, Firefox now runs circle around Chrome. And right now, it is using 15 - 40% CPU when "idle", but mostly hover around ~25%. And I have Ad Block and Privacy option turned on. So that helps a lot too.

These days website uses insane amount of Javascript from track everything including your mouse movement to quietly mining Bitcoins. For most people, Firefox is now very fast.

You should try resetting profile and visit the same website to see if problem persist. You should file a bug. But may be you would have try all this and know already, since you have been using it since Phoenix. I can not help.

Have a nice Day User since Netscape era.

Re:Firefox Product Roadmap by cptskippy on Thursday March 22, 2018 @02:29PM (#16651248)
That's impressive. How do you manage hundreds of tabs?

I tend to have Azure dashboards open which are quite active and resource intensive so I'm not doing myself any favors however I typically only have 6 of 12 tabs active.

I've never used Chrome as my primary browser so I can't really compare it to Firefox in terms of performance, I just know what Firefox has been like over the years. They've always had a cadence to their releases and I know it'll get better, at the moment however it is a CPU and memory hog compared to past releases.

That being said I am kind of astonished that in it's current state people are saying it's astonishingly better than Chrome. I guess it just speaks to how bad Chrome is presently? I don't think I use Chrome enough to comment but I've not had issues with it. I typically only have Chrome running ~5 tabs with 1 active.

Re:Firefox Product Roadmap by blacksmith_tb on Thursday March 22, 2018 @12:36PM (#16650198)
Ouch, when I have experienced problems like that in FF it tends to have been something I've done to myself, fiddling with prefs in about:config. Do you see the same behavior if you spin up a fresh profile?
Re:Firefox Product Roadmap by cptskippy on Thursday March 22, 2018 @02:34PM (#16651321)
That's entirely possible though I would say the profile on my work machine is only a couple months old. Is it possible that Firefox sync brought in settings from another machine that's possibly borking it?
Re:Firefox Product Roadmap by michaelmrose on Thursday March 22, 2018 @01:10PM (#16650582)
Your resume performance has to do with windows not Firefox and it seems that something might be buggy about your experience I suggest that others are not experiencing the same issues.
Re:Firefox Product Roadmap by cptskippy on Thursday March 22, 2018 @02:32PM (#16651291)
The resume performance is directly related to Firefox running. I've closed Firefox prior to hibernation and not experienced the slowness at resume. I've also started the resource monitor and hibernated with Firefox running. The resource monitor reports 100% CPU utilization on all cores with Firefox processes being the primary consumers.
Re:Firefox Product Roadmap by michaelmrose on Thursday March 22, 2018 @04:44PM (#16652531)
Is this so with a fresh profile and no addons enabled? Is this so without the 2-3 different antivirus a lot of windows people seem to run for no reason?

Note that as firefox isn't capable of suspending or resuming a computer I'm going to continue to assume that your OS is partially related to bad resume performance.

Re:Firefox Product Roadmap by cptskippy on Thursday March 22, 2018 @08:45PM (#16654108)
> Note that as firefox isn't capable of suspending or resuming a computer

I think you misunderstood what I said.

Firefox isn't suspending or resuming the computer. I put the computer into hibernation explicitly and it hibernates which means the computer is consuming no power and is shut down. I can remove the battery and unplug it with no harm.

Upon powering the laptop back up, Firefox starts consuming 100% CPU utilization for 5-10 minutes consuming so much CPU time that the mouse stutters.

If I end task Firefox then the system becomes immediately responsive.

Re:Firefox Product Roadmap by dorgo on Thursday March 22, 2018 @02:18PM (#16651144)
I don't know. Firefox 59 needs about a second to load a small local html file with 3 small pictures (100x100 pixel) from SSD. How is this possible? Most windows games load instantly. UI in most games works instantly. Why is it so hard to make the same possible in a browser?
Re:Firefox Product Roadmap by infogulch on Thursday March 22, 2018 @02:45PM (#16651438)
Open Dev tools and do a trace? I'd like to see out of curiosity.
Re:Firefox Product Roadmap by dorgo on Thursday March 22, 2018 @03:03PM (#16651623)
Something like this? https://imgur.com/Y9CkxEh I don't know how to do it. I can only start a recording and reload the page. But it is not the same as to open it in a new tab (which much slower).