MozillaZine

Javascript Performance Thread

Discussion about official Mozilla Firefox builds
jandem
 
Posts: 93
Joined: September 18th, 2008, 2:57 pm

Post Posted October 8th, 2010, 3:33 pm

bsr5 wrote:Is it getting close to as fast as it will get for 4.0 final or are there any other significant perf blockers?

The following bugs have patches that are likely to land before FF 4 final (tried to convert numbers to awfy units as best as possible):

- https://bugzilla.mozilla.org/show_bug.cgi?id=580468 (30 ms SS, > 130ms V8)
- https://bugzilla.mozilla.org/show_bug.cgi?id=595884 (0 ms SS, ~150ms V8)
- https://bugzilla.mozilla.org/show_bug.cgi?id=578916 (8 ms SS)
- https://bugzilla.mozilla.org/show_bug.cgi?id=581893 (7 ms SS)
- https://bugzilla.mozilla.org/show_bug.cgi?id=584917 (7-10 ms SS)
- https://bugzilla.mozilla.org/show_bug.cgi?id=601296 (4 ms SS?)
- https://bugzilla.mozilla.org/show_bug.cgi?id=587257 (2 ms SS?)

This list is not complete, and I'm sure there will be more improvements. OTOH, fixing one issue may reduce perf gains of other patches, so combined win may be smaller.

Running SS in the browser will often give a large variance. Bug 598650 will fix that and may help SS numbers in the browser.

Tesla74

User avatar
 
Posts: 200
Joined: September 16th, 2010, 5:27 pm

Post Posted October 8th, 2010, 5:52 pm


phuzi0n
 
Posts: 517
Joined: June 23rd, 2010, 5:48 pm

Post Posted October 8th, 2010, 6:34 pm

Don't forget brain transplants for compartments. They don't really talk about JS performance in the bug but the tryserver builds score slightly better. The brain transplants patch queue is growing pretty big.

https://bugzilla.mozilla.org/show_bug.cgi?id=580128

phuzi0n
 
Posts: 517
Joined: June 23rd, 2010, 5:48 pm

Post Posted October 8th, 2010, 6:43 pm

Some small wins just landed to TM which improved SS ~14ms. It's not really clear if there's any V8 win since it fluctuates a bit but it might have gotten a ~20ms win.

http://arewefastyet.com/?machine=6

http://hg.mozilla.org/tracemonkey/shortlog

mat--
 
Posts: 669
Joined: May 20th, 2010, 8:12 am

Post Posted October 8th, 2010, 7:01 pm

The brain transplants patch queue is growing pretty big.

https://bugzilla.mozilla.org/show_bug.cgi?id=580128

http://hg.mozilla.org/users/mrbkap_mozi ... 7a3/series

134 patches so far :shock:

phuzi0n
 
Posts: 517
Joined: June 23rd, 2010, 5:48 pm

Post Posted October 9th, 2010, 12:15 am

They just passed the 400ms mark for SS on the main page even though the regress page has worse numbers for the same revision. They've now met the original 400ms / 2300ms goals!

http://arewefastyet.com/

bogas04

User avatar
 
Posts: 977
Joined: May 18th, 2010, 1:14 am

Post Posted October 9th, 2010, 3:03 am

WebKit ALMOST pwned :D
bogas04.github.io
MacBook Air Mid 2013 |@bogas04

patrickjdempsey

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

Post Posted October 9th, 2010, 4:13 am

That's pretty impressive stuff.
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/

WonderCsabo
 
Posts: 2230
Joined: June 25th, 2010, 9:29 am
Location: Budapest, Hungary

Post Posted October 9th, 2010, 5:17 am

bogas04 wrote:WebKit ALMOST pwned :D


Not yet. Really the purple line counts (JM+TM)

Anyone know what's the current goal?

schapel
 
Posts: 3483
Joined: November 4th, 2002, 10:47 pm
Location: Ann Arbor, Michigan

Post Posted October 9th, 2010, 5:28 am

The next goal is to be 15% faster than the Oct. 1 builds by the end of 2010 on SunSpider and V8. It looks like they're a third of the way there in just one week. When they reach the goal, Firefox should be about as fast as Chrome on SunSpider, but still about 40% slower than Chrome on v8. That's plenty fast enough for Firefox 4.0

WonderCsabo
 
Posts: 2230
Joined: June 25th, 2010, 9:29 am
Location: Budapest, Hungary

Post Posted October 9th, 2010, 5:30 am

Agreed!

The Oct 1 speed = AWFY oct 1 speed?

phuzi0n
 
Posts: 517
Joined: June 23rd, 2010, 5:48 pm

Post Posted October 9th, 2010, 5:32 am

WonderCsabo wrote:Anyone know what's the current goal?

"15% improved over the October 1st numbers." to paraphrase the wiki which is linked a few pages back. It's worded in a way open to interpretation. It could either be [Oct 1st]/1.15 (15% faster) or [Oct 1st]*0.85 (15% less execution time). AWFY reports the latter. It works out to something around ~350ms SS and ~1900ms V8 but varies a little depending on the exact math.

phuzi0n
 
Posts: 517
Joined: June 23rd, 2010, 5:48 pm

Post Posted October 9th, 2010, 5:34 am

WonderCsabo wrote:Agreed!

The Oct 1 speed = AWFY oct 1 speed?

Yes. You can just look at the Sept. 29th speed because nothing major changed between then and Oct. 1.

WonderCsabo
 
Posts: 2230
Joined: June 25th, 2010, 9:29 am
Location: Budapest, Hungary

Post Posted October 9th, 2010, 5:42 am

Yeah, i meant that, thanks for the aswers guys!

So the goals are:

350 ms on SS
2040 ms on V8

Am i correct?

Terepin

User avatar
 
Posts: 1081
Joined: March 11th, 2009, 2:35 am
Location: Košice, Slovakia

Post Posted October 9th, 2010, 6:08 am

The improvements are great and all, but until they fix UI freezing during rendering, they'll be useless.
Hope dies penultimate. What remains till the end is sarcasm. And I have plenty of it.

Return to Firefox Builds


Who is online

Users browsing this forum: No registered users and 2 guests