MozillaZine

Ted's PGO build

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 20th, 2008, 10:29 am

I'm working on making PGO builds in an automated fashion (we'd like to switch the nightlies to use PGO), and as such I've been building with PGO a lot lately. I figured these builds could use a bit of testing, and I know you guys like fast builds, so give this one a shot:
http://people.mozilla.com/~tmielczarek/ ... .win32.zip

It's essentially just today's nightly built with my build config changes from bug 361343, with a little bit of profiling and then rebuilt with PGO. No other local patches or optimizations. I think Breakpad is enabled on this build, but the symbols haven't been uploaded, so the crash reports aren't useful.

Questions or feedback here or on the bug would be great.

Thanks!

Sammo

User avatar
 
Posts: 294
Joined: November 25th, 2002, 7:36 pm
Location: Oregon

Post Posted February 20th, 2008, 12:29 pm

WOW!! This is the fastest build I have ever tried. Excellent!
- Sammo -

OldSkoOL
 
Posts: 39
Joined: June 2nd, 2004, 7:10 am
Location: Posts: 1,526,849

Post Posted February 20th, 2008, 12:34 pm

seconded

this is insane

JS tests are so quick i thought it was erroring and thats compared to opera

Rendering i think is good - as quick as Opera at least if not quicker in some cases but too hard to tell because of internet / site bottlenecks; which is a good thing.


Start up speed is also good.

The overall speed seen here is very similar to tete's latest beta 3 build but this is faster still!

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 20th, 2008, 1:19 pm

Good, then you won't mind when we turn this on by default for nightlies! :)

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 20th, 2008, 3:19 pm

I also have a PGOed x86-64 Linux build, if anyone is interested:
http://people.mozilla.com/~tmielczarek/ ... 64.tar.bz2

I haven't actually tested the speed, but it should be faster.

OldSkoOL
 
Posts: 39
Joined: June 2nd, 2004, 7:10 am
Location: Posts: 1,526,849

Post Posted February 20th, 2008, 3:54 pm

So your saying that the official builds posted in builds will be PGO or you add the trunk PGO as an extra download?

I've just tested this build on an older PC and its still a lot faster. Infact its nearly twice as fast than opera on the JS tests. I haven't done any other tests yet.

So if PGO has this much difference, why wouldn't mozilla build firefox with PGO as default?


Thanks also for taking the time and effort to build these

xpgeek

User avatar
 
Posts: 112
Joined: August 7th, 2005, 3:47 pm
Location: Jersey, USA

Post Posted February 20th, 2008, 5:16 pm

Wow. Same here, fastest build I've ever tried, and I've tried/played with a bunch. Hope to see these kept coming.

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 20th, 2008, 6:28 pm

OldSkool: Our plan is to make the official builds this way. I just checked in the build config changes from that bug, so we're almost ready to turn it on.

I do suspect most of what you're seeing are the effects of recent JS changes, the PGO just helps it out and makes everything a bit faster.

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

Post Posted February 20th, 2008, 10:48 pm

Ted, what will I have to do locally to do PGO-enabled builds of my own?

tqft

User avatar
 
Posts: 1231
Joined: April 22nd, 2003, 11:57 pm

Post Posted February 21st, 2008, 3:13 am

As Ryan said - how do I make my own linux build?

From comment 29
"and added a makefile variable that can be used to switch off PGO per-module in case we need that. "

Does that mean the code has everything in it needed to build it and it is just a config option? Want to building on linux.

When you turn it on for the nightlies - I assume it is the default config option? In which case I should have to do nothing (my .config is quite sparse) or are there other bits to flip?

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 21st, 2008, 5:49 am

I wrote a doc: http://developer.mozilla.org/en/docs/Bu ... timization

It could probably use some copy-editing and links to other documentation, but I think it's factually complete.

Almost forgot, if you're going to build on Win32, you should wait until the NSPR tag gets bumped (hopefully today) to pick up the fix for bug 416571. Linux builds should work fine.

quirK

User avatar
 
Posts: 594
Joined: September 4th, 2003, 4:15 am
Location: Singapore

Post Posted February 22nd, 2008, 12:15 am

Hi Ted, does your build optimise for processor-specific instructions like SSE, SSE2, etc?

Ted Mielczarek
 
Posts: 1269
Joined: November 5th, 2002, 7:32 am
Location: PA

Post Posted February 22nd, 2008, 12:25 pm

sld: nope, it's a standard Firefox build in every other respect.

matias
 
Posts: 26
Joined: November 25th, 2004, 6:35 pm

Post Posted February 22nd, 2008, 3:28 pm

wow, it's really fast!! i really like it!
Thanks ted

taizitju

User avatar
 
Posts: 5
Joined: September 22nd, 2006, 8:28 am
Location: Tianjin.China

Post Posted February 23rd, 2008, 1:05 am

Thanks !
Good job!
Very fast! I hope nightly cloud use pgo.

Return to Third Party/Unofficial Builds


Who is online

Users browsing this forum: xunxun1982 and 1 guest