MozillaZine

Javascript Performance Thread

Discussion about official Mozilla Firefox builds
Omega X

User avatar
 
Posts: 7348
Joined: October 18th, 2007, 2:38 pm
Location: A Parallel Dimension...

Post Posted November 10th, 2012, 2:19 pm

iwod wrote:And Generational GC. Actually i posted this in About:Snappy but none of those items are being worked on at the moment.

viewtopic.php?f=23&t=2367863&start=570

And that is what we hope it will improve and become much better. Over the years we have all bet of faster Javascript Engine or what ever other tech that was suppose to improve. And none of it did. Or they did but wasn't making a big enough difference.

I was thinking if mozilla needs resources on this features we could do a KickStarter project on it.



I like how you distorted that into "Nothing being worked on". Which isn't true. You're talking about very big architectural changes. That stuff doesn't happen overnight.

Every improvement down the line helped. Even the JS engine stuff. Just because its not a night and day change, doesn't mean it was bad or "didn't help".
Latest: Firefox/38.0.1 *ESR/38.0.1 - Mobile/38.0.1 - Thunderbird/31.7.0 - SeaMonkey/2.33.1
Nightly: Nightly/41.0 - Mobile/41.0 - Daily/41.0 - SeaMonkey/2.35a1

patrickjdempsey

User avatar
 
Posts: 22338
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC

Post Posted November 10th, 2012, 6:29 pm

Also, if you didn't hear the news from last year: http://allthingsd.com/20111222/google-w ... and-yahoo/ I seriously doubt your Kickstarter would rake in more than that.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/

iwod
 
Posts: 1002
Joined: July 18th, 2003, 10:09 pm

Post Posted November 11th, 2012, 4:26 am

Omega X wrote:
iwod wrote:And Generational GC. Actually i posted this in About:Snappy but none of those items are being worked on at the moment.

viewtopic.php?f=23&t=2367863&start=570

And that is what we hope it will improve and become much better. Over the years we have all bet of faster Javascript Engine or what ever other tech that was suppose to improve. And none of it did. Or they did but wasn't making a big enough difference.

I was thinking if mozilla needs resources on this features we could do a KickStarter project on it.



I like how you distorted that into "Nothing being worked on". Which isn't true. You're talking about very big architectural changes. That stuff doesn't happen overnight.

Every improvement down the line helped. Even the JS engine stuff. Just because its not a night and day change, doesn't mean it was bad or "didn't help".


GGC is being worked on, SuperSnappy is being halted. OMTC is only on B2G, which means Firefox will come later. It certainly helps, but most of the attention Mozilla are focusing these days are Firefox Android and Fireofx OS.

Most of those, SupperSnappy from e10s, and GGC we have been talking for years. These aren't overnight change, but they have already taken fair a bit time already.

The good thing is Chrome seems to be adding its bloat recently and has been starting and running slower then previous version.

RyanVM
 
Posts: 1264
Joined: June 16th, 2004, 6:00 am
Location: Exton, PA

Post Posted November 11th, 2012, 6:23 am

Yeah, Mozilla JS development is obviously at a standstill lately. It's not like they only recently landed a completely new JIT after a year of development or something. And GGC development is being actively worked on (njn and terrence to name a couple off-hand), but it's a massive change that basically alters the fundamentals of how Gecko uses memory (and breaks many underlying assumptions in the mean time). That's not a rewrite that happens overnight.

I agree that it's somewhat disappointing that things seem a bit stagnant on the desktop side, but keep in mind that the push for FirefoxOS' first release is driving a lot of those decisions. And as others have mentioned, while it means that Android/FirefoxOS are getting some improvements first (like OMTC), the groundwork being laid will eventually land there too.

Zlip792

User avatar
 
Posts: 1332
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Post Posted November 15th, 2012, 2:03 am

Chrome 25 got Generational DOM GC, I know it is not related to FF achievement but still it is awesome thingy since it reduced their memory consumption quite a bit like from results:
"24 MB reduction of Facebook and 235 MB reduction on Google Calendar"

iwod
 
Posts: 1002
Joined: July 18th, 2003, 10:09 pm

Post Posted November 15th, 2012, 9:31 am

Zlip792 wrote:Chrome 25 got Generational DOM GC, I know it is not related to FF achievement but still it is awesome thingy since it reduced their memory consumption quite a bit like from results:
"24 MB reduction of Facebook and 235 MB reduction on Google Calendar"


I thought they had GGC long ago?

Ver Greeneyes
 
Posts: 803
Joined: June 28th, 2008, 4:57 am

Post Posted November 15th, 2012, 9:34 am

Apparently their generational GC didn't include the Domain Object Model (DOM)? Not sure whether that means their GGC was only used for JavaScript code, or if it included more things outside their DOM implementation.

cyko_01

User avatar
 
Posts: 77
Joined: August 2nd, 2011, 6:52 pm

Post Posted November 15th, 2012, 9:48 am

Ver Greeneyes wrote:Apparently their generational GC didn't include the Domain Object Model (DOM)? Not sure whether that means their GGC was only used for JavaScript code, or if it included more things outside their DOM implementation.

DOM = DOCUMENT Object Model - the objects contained in a document. In javascript they might be referenced as "document.formName.inputName" for example

I imagine Generational DOM GC refers to the gc required when objects are constantly created/removed/changed in the dom

Zlip792

User avatar
 
Posts: 1332
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Post Posted November 15th, 2012, 11:16 am


Zlip792

User avatar
 
Posts: 1332
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Post Posted November 15th, 2012, 1:40 pm

Chrome puts another dent and extended the gap between IM(JM+IM+TI) and v8 on Kraken benchmark.

Ver Greeneyes
 
Posts: 803
Joined: June 28th, 2008, 4:57 am

Post Posted November 15th, 2012, 11:00 pm

cyko_01 wrote:DOM = DOCUMENT Object Model - the objects contained in a document.

Whoops, bit of a brain fart on my part.

KilliK

User avatar
 
Posts: 470
Joined: June 18th, 2004, 7:11 am

Post Posted November 20th, 2012, 12:11 am

Zlip792 wrote:Chrome puts another dent and extended the gap between IM(JM+IM+TI) and v8 on Kraken benchmark.


Ιτ is not a surprise. You just can't beat a multi-billion dollars company with unlimited resources.
Regardless the hard work that the Mozilla people do, their technology will always will be 10 steps behind the competition.
I only hope that the whole hard work they are doing with IM, is not for nothing and that it will eventually help improve the Firefox platform a lot more, regardless if it can't "beat" those, made only for promotion,contest benchmarks.

Zlip792

User avatar
 
Posts: 1332
Joined: May 7th, 2011, 1:47 pm
Location: Pakistan

Post Posted November 20th, 2012, 12:25 am

ominus wrote:
Zlip792 wrote:Chrome puts another dent and extended the gap between IM(JM+IM+TI) and v8 on Kraken benchmark.


Ιτ is not a surprise. You just can't beat a multi-billion dollars company with unlimited resources.
Regardless the hard work that the Mozilla people do, their technology will always will be 10 steps behind the competition.
I only hope that the whole hard work they are doing with IM, is not for nothing and that it will eventually help improve the Firefox platform a lot more, regardless if it can't "beat" those, made only for promotion,contest benchmarks.


I understand this fact and I personally prefer real life performance what actually matters, IM now also have off the main thread compilation which JM does not have so it does not put the chrome of Firefox in strain when compiling which good achievement. Lets hope they continue the good work.

ssj12
 
Posts: 78
Joined: September 7th, 2010, 6:26 pm

Post Posted November 21st, 2012, 11:51 pm

So whats the next set of major improvements planned for ff 20 and 21?

iwod
 
Posts: 1002
Joined: July 18th, 2003, 10:09 pm

Post Posted November 22nd, 2012, 2:49 am

ssj12 wrote:So whats the next set of major improvements planned for ff 20 and 21?


I think GGC will land first out of all the big listed items. But very unlikely for 21 or even 22.

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 2 guests