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
Contact:

Ted's PGO build

Post by Ted Mielczarek »

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!
User avatar
Sammo
Posts: 294
Joined: November 25th, 2002, 7:36 pm
Location: Oregon

Post by Sammo »

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 by OldSkoOL »

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
Contact:

Post by Ted Mielczarek »

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
Contact:

Post by Ted Mielczarek »

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 by OldSkoOL »

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
User avatar
xpgeek
Posts: 112
Joined: August 7th, 2005, 3:47 pm
Location: Jersey, USA

Post by xpgeek »

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
Contact:

Post by Ted Mielczarek »

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 by RyanVM »

Ted, what will I have to do locally to do PGO-enabled builds of my own?
User avatar
tqft
Posts: 1232
Joined: April 22nd, 2003, 11:57 pm

Post by tqft »

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
Contact:

Post by Ted Mielczarek »

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.
trieste
Posts: 618
Joined: September 4th, 2003, 4:15 am
Location: Singapore

Post by trieste »

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
Contact:

Post by Ted Mielczarek »

sld: nope, it's a standard Firefox build in every other respect.
matias
Posts: 26
Joined: November 25th, 2004, 6:35 pm

Post by matias »

wow, it's really fast!! i really like it!
Thanks ted
taizitju
Posts: 5
Joined: September 22nd, 2006, 8:28 am
Location: Tianjin.China

Post by taizitju »

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