Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Talos Improvement: Dromaeo (DOM) increase 3.07% on Linux Firefox

0 views
Skip to first unread message

Nobody

unread,
May 3, 2010, 3:10:23 PM5/3/10
to dev-tree-...@lists.mozilla.org
Improvement: Dromaeo (DOM) increase 3.07% on Linux Firefox
Previous results:
120.497 from build 20100503032010 of revision 83c887dff0da at 2010-05-03 03:19:00 on talos-r3-fed-031 run # 0
New results:
124.193 from build 20100503034054 of revision 358113b3642e at 2010-05-03 03:52:00 on talos-r3-fed-030 run # 0
http://mzl.la/agIyRs
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=83c887dff0da&tochange=358113b3642e

Nobody

unread,
May 3, 2010, 4:15:25 PM5/3/10
to dev-tree-...@lists.mozilla.org
Regression: Ts Shutdown, Cold MAX Dirty Profile increase 5.80% on MacOSX 10.5.8 Firefox
Previous results:
108.0 from build 20100503030614 of revision 83c887dff0da at 2010-05-03 04:28:00 on talos-r3-leopard-037 run # 0
New results:
114.263 from build 20100503034701 of revision 358113b3642e at 2010-05-03 04:09:00 on talos-r3-leopard-027 run # 0
http://mzl.la/a1lpv9
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=83c887dff0da&tochange=358113b3642e

Nobody

unread,
May 3, 2010, 4:15:38 PM5/3/10
to dev-tree-...@lists.mozilla.org
Regression: Ts Shutdown, Cold MED Dirty Profile increase 5.60% on MacOSX 10.5.8 Firefox

Previous results:
108.0 from build 20100503030614 of revision 83c887dff0da at 2010-05-03 04:28:00 on talos-r3-leopard-037 run # 0
New results:
114.053 from build 20100503034701 of revision 358113b3642e at 2010-05-03 04:09:00 on talos-r3-leopard-027 run # 0
http://mzl.la/bhaUoV
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=83c887dff0da&tochange=358113b3642e

Mike Beltzner

unread,
May 3, 2010, 4:55:44 PM5/3/10
to dev-tree-...@lists.mozilla.org, Henri Sivonen
Looks like the HTML5 parser change - expected?

On 5/3/2010 4:15 PM, Nobody wrote:
> Regression: Ts Shutdown, Cold MAX Dirty Profile increase 5.80% on MacOSX 10.5.8 Firefox


> Previous results:
> 108.0 from build 20100503030614 of revision 83c887dff0da at 2010-05-03 04:28:00 on talos-r3-leopard-037 run # 0
> New results:

> 114.263 from build 20100503034701 of revision 358113b3642e at 2010-05-03 04:09:00 on talos-r3-leopard-027 run # 0
> http://mzl.la/a1lpv9
> http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=83c887dff0da&tochange=358113b3642e
> _______________________________________________
> dev-tree-management mailing list
> dev-tree-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tree-management

Mike Shaver

unread,
May 3, 2010, 4:58:08 PM5/3/10
to Mike Beltzner, Henri Sivonen, dev-tree-...@lists.mozilla.org
On Mon, May 3, 2010 at 4:55 PM, Mike Beltzner <belt...@mozilla.com> wrote:
> Looks like the HTML5 parser change - expected?

I hope we're not parsing much HTML at shutdown. :-/

I think that Tshutdown, being basically an I/O test AFAICT, is just
noisier than normal for our tests, and confusing the regression
detector. But I cannot prove it!

Mike

Jonas Sicking

unread,
May 3, 2010, 5:01:33 PM5/3/10
to

The only thing I could think of is that we might have another thread to
spin down during shutdown.

/ Jonas

Shawn Wilsher

unread,
May 3, 2010, 5:07:17 PM5/3/10
to dev-tree-...@lists.mozilla.org
On 5/3/2010 1:58 PM, Mike Shaver wrote:
> I hope we're not parsing much HTML at shutdown. :-/
>
> I think that Tshutdown, being basically an I/O test AFAICT, is just
> noisier than normal for our tests, and confusing the regression
> detector. But I cannot prove it!
This showed up on more than one platform, so I think it is real. Yes,
these are noisy, but something is happening on shutdown that wasn't before.

IMO, this should be backed out until we figure out what's up.

(side note: this also landed with some nice performance wins)

Cheers,

Shawn

Mike Shaver

unread,
May 3, 2010, 5:16:30 PM5/3/10
to Shawn Wilsher, dev-tree-...@lists.mozilla.org
On Mon, May 3, 2010 at 5:07 PM, Shawn Wilsher <sdw...@mozilla.com> wrote:
> IMO, this should be backed out until we figure out what's up.
>
> (side note: this also landed with some nice performance wins)

Were the wins on something more important than 5% on Tshutdown? If so
-- and it's hard to imagine a win that isn't, IMO -- then it should
stay.

Tshutdown really just isn't that important, and that we're reporting
it is mostly an artifact of what we did to avoid counting it in Ts, if
memory serves. We shouldn't let the fact that it's tracked on graph
server make it a goal in its own right.

Mike

Shawn Wilsher

unread,
May 3, 2010, 5:39:36 PM5/3/10
to Mike Shaver, dev-tree-...@lists.mozilla.org
On 5/3/2010 2:16 PM, Mike Shaver wrote:
> Were the wins on something more important than 5% on Tshutdown? If so
> -- and it's hard to imagine a win that isn't, IMO -- then it should
> stay.
5% Tp4 (Linux only)
3% Tp4 Private bytes (Linux64 only)
1.72% Dromaeo (10.5 only)

> Tshutdown really just isn't that important, and that we're reporting
> it is mostly an artifact of what we did to avoid counting it in Ts, if
> memory serves. We shouldn't let the fact that it's tracked on graph
> server make it a goal in its own right.

I beg to differ. We have lots of users who hit the "firefox is already
running" dialog when simply restarting their browser. Yes, Tp4 shutdown
is noisy as heck and I wouldn't really trust it. However, Ts shutdown
is about as stable as Ts proper. There is a clear regression on 10.5.8
and a less clear one on linux 64. Windows 7 and XP look alright and
there might be a win on 10.6.2. I can't tell with linux; there may be a
small regression.

I'm advocating that we back it out and identify what extra work we are
doing at shutdown. Just taking a regression without making some effort
to understand it seems less than ideal to me.

Cheers,

Shawn

Shawn Wilsher

unread,
May 3, 2010, 5:42:00 PM5/3/10
to dev-tree-...@lists.mozilla.org
On 5/3/2010 2:39 PM, Shawn Wilsher wrote:
> I beg to differ. We have lots of users who hit the "firefox is already
> running" dialog when simply restarting their browser. Yes, Tp4 shutdown
> is noisy as heck and I wouldn't really trust it. However, Ts shutdown is
> about as stable as Ts proper. There is a clear regression on 10.5.8 and
> a less clear one on linux 64. Windows 7 and XP look alright and there
> might be a win on 10.6.2. I can't tell with linux; there may be a small
> regression.
Also see Ts shutdown cold regressions on 10.5.8 and 10.6.2 (linux is no
regression or unclear).

Cheers,

Shawn

Mike Shaver

unread,
May 3, 2010, 6:39:41 PM5/3/10
to Shawn Wilsher, dev-tree-...@lists.mozilla.org
Sure, let's understand it; I'll rarely argue otherwise! I just don't think
we need to back it out while we do so.

Mike

On May 3, 2010 5:37 PM, "Shawn Wilsher" <sdw...@mozilla.com> wrote:

On 5/3/2010 2:16 PM, Mike Shaver wrote:
>

> Were the wins on something more important than 5% on Tsh...


5% Tp4 (Linux only)
3% Tp4 Private bytes (Linux64 only)
1.72% Dromaeo (10.5 only)

> Tshutdown really just isn't that important, and that we're reporting

> it is mostly an artifact ...


I beg to differ. We have lots of users who hit the "firefox is already
running" dialog when simply restarting their browser. Yes, Tp4 shutdown is
noisy as heck and I wouldn't really trust it. However, Ts shutdown is about
as stable as Ts proper. There is a clear regression on 10.5.8 and a less
clear one on linux 64. Windows 7 and XP look alright and there might be a
win on 10.6.2. I can't tell with linux; there may be a small regression.

I'm advocating that we back it out and identify what extra work we are doing

Henri Sivonen

unread,
May 4, 2010, 2:49:24 AM5/4/10
to Mike Beltzner, dev-tree-...@lists.mozilla.org
"Mike Beltzner" <belt...@mozilla.com> wrote:

> Looks like the HTML5 parser change - expected?

No, the regression was not expected.

As sicking says, the only obvious shutdown path difference is that there's one more thread to shut down.

I'll run the shutdown test locally on a Mac with printfs in interesting places.



> On 5/3/2010 4:15 PM, Nobody wrote:
> > Regression: Ts Shutdown, Cold MAX Dirty Profile increase 5.80% on
> MacOSX 10.5.8 Firefox
> > Previous results:
> > 108.0 from build 20100503030614 of revision 83c887dff0da at
> 2010-05-03 04:28:00 on talos-r3-leopard-037 run # 0
> > New results:
> > 114.263 from build 20100503034701 of revision 358113b3642e
> at 2010-05-03 04:09:00 on talos-r3-leopard-027 run # 0
> > http://mzl.la/a1lpv9
> >
> http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=83c887dff0da&tochange=358113b3642e

--
Henri Sivonen
hsiv...@iki.fi
http://hsivonen.iki.fi/

Henri Sivonen

unread,
May 4, 2010, 9:34:31 AM5/4/10
to Mike Beltzner, Lukas Blakk, dev-tree-...@lists.mozilla.org
"Henri Sivonen" <hsiv...@iki.fi> wrote:

> "Mike Beltzner" <belt...@mozilla.com> wrote:
>
> > Looks like the HTML5 parser change - expected?
>
> No, the regression was not expected.
>
> As sicking says, the only obvious shutdown path difference is that
> there's one more thread to shut down.

The thread shutdown time isn't even measurable at the millisecond-resolution, so that's not the problem.

> I'll run the shutdown test locally on a Mac with printfs in
> interesting places.

On my MacBook (Core 2 Duo, Snow Leopard), ts shutdown is worse with the old parser than with the new parser, so I'm unable to reproduce the regression locally.

The most interesting thing I discovered was this:
After nsAppStartup::Quit has been called, no stream-originating HTML parsing takes place and no innerHTML setters run. However, document.write() is called once with
"\n\n"Startup time = 1375 ms<br>" as the argument and there's no associated document.close() call.

This comes from startup.html. In the onload handler, there's this line:
document.write('\n\nStartup time = ' + startupTime + ' ms<br>');

This line is misindented, which suggests it's debug code that should not have made it into production. In any case, calling document.write() from the onload handler is improper, because by the time onload fires, the parser is done, so the document.write() implies document.open() and starts another parse.

I suggest removing the document.write() line from the harness. I don't know if doing that would fix the regression, though.

Henri Sivonen

unread,
May 4, 2010, 10:35:12 AM5/4/10
to dev-tree-...@lists.mozilla.org

Shawn Wilsher

unread,
May 4, 2010, 11:26:14 AM5/4/10
to dev-tree-...@lists.mozilla.org
On 5/4/2010 6:34 AM, Henri Sivonen wrote:
> I suggest removing the document.write() line from the harness. I don't know if doing that would fix the regression, though.
Can you please file a bug on that please (and maybe even patch it pretty
please)?

Cheers,

Shawn

Henri Sivonen

unread,
May 5, 2010, 7:28:02 AM5/5/10
to dev-tree-...@lists.mozilla.org
"Henri Sivonen" <hsiv...@iki.fi> wrote:

> I suggest removing the document.write() line from the harness. I don't
> know if doing that would fix the regression, though.

Filed as https://bugzilla.mozilla.org/show_bug.cgi?id=563899

0 new messages