Longer Build Times?

Discussion about official Mozilla Firefox builds
Post Reply
User avatar
Krueger_Industrial
Posts: 196
Joined: November 2nd, 2003, 12:40 pm
Location: Location! Location! Location!
Contact:

Longer Build Times?

Post by Krueger_Industrial »

Here's something odd I noticed while looking at my build logs. Up till April 6, the average build time was around 1 hour 15 minutes. Then on April 7 it jumped up to around 1 hour 45 minutes and has stayed there ever since.

There was no hardware or software changes on my build computer. I wonder what happned to add an extra 30 minutes to the build time.
User avatar
jayfromtaiwan
Posts: 713
Joined: March 4th, 2004, 6:50 pm
Location: Melrose, MA
Contact:

Post by jayfromtaiwan »

lol i used to have 50-minute build time, now it jumped to 1.5-2 hours ><"
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8b2) Gecko/20050410 Firefox/1.0+ (jayfromtaiwan)
User avatar
Lohvarn
Posts: 332
Joined: January 30th, 2004, 9:43 pm
Location: Fort Worth, TX

Post by Lohvarn »

Mine has always oscillated every once in a while, but recently I believe it's been quite steady at 35 minutes.
User avatar
BlueFyre
Posts: 1985
Joined: February 11th, 2004, 4:33 pm

Post by BlueFyre »

Do you build using some sorta caching... like obj files or something? I think there's a way to compile and link together only the files that need recompiling.. but I never got around to looking for that... if it would be possible, because not all the files change, it would make building a lot faster... it takes me ~2 hours at times
If you notice this notice you may notice that this notice is not worth noticing.
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

I think that the time to pull has changed. I don't know if you include those times in your overall build calcs but I've been seeing a lot of test stuff in the pulls lately.

The time that you do your pulls makes a big difference. It seems that early in the morning (Eastern Time) is a particularly bad time to do pulls but evenings seem to be much better.

I noticed an improvement in my build (compile/link) times recently but that's due to a hardware change. My builds were taking about 3 hours and it's down to about 2.25. Yeah, my hardware is nowhere near state of the art. But it works very fast for everything I do except for Mozilla builds. Looking at that Compaq A64 Laptop for $1K.

I wonder if anyone has done a Windows-64 build for Mozilla yet.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
gorgias
Posts: 226
Joined: March 19th, 2003, 4:03 pm
Location: Sweden
Contact:

Post by gorgias »

My buildtime went from 45 minutes to 60 and i'm not including the checkout time. Don't know what has changed, i updated cygwin at the time so I thought it was that.
User avatar
Lohvarn
Posts: 332
Joined: January 30th, 2004, 9:43 pm
Location: Fort Worth, TX

Post by Lohvarn »

Because I currently alternate between trunk and branch, I delete the entire source tree every day before building (setting up separate folders would have required too much rewriting of my scripts). A fresh pull at 615am Central takes about 10 minutes, give or take 3 minutes. Before Mozilla 1.7 branched, a CVS update (not full download) would take 5-6 minutes I believe.

I delete the object file folder between builds compiled on the same day (first G6SSE, then G7, etc.), and from there a build takes about 35 minutes. I don't reuse anything or build incrementally, or anything of that nature.

As you might already know, my main build machine is an Athlon XP 2.2GHz. The SSE2 build machine is a Centrino 1.7GHz (1.6 now for reasons too long and boring to describe). The build log for the Athlon XP can be found in my folder on Pryan's server. It is updated "in real time" during my build processes.

Checking my logs it actually seems the Centrino built SSE2 in 25 minutes on 05/01.
User avatar
Krueger_Industrial
Posts: 196
Joined: November 2nd, 2003, 12:40 pm
Location: Location! Location! Location!
Contact:

Post by Krueger_Industrial »

I completely delete all source and pull new. Pull time has remained constant at 10-11 minutes. Build time has remained constant too -- never varying more than 1 or 2 minutes from one build to the next. But it has increased. Used to be 1 hour 13 - 15 minutes, now it's 1 hour 43 - 45 minutes.

Just seems wierd that it was the same for nearly 2 months, then suddenly jumped up 30 minutes and has stayed there for nearly a month.

Oh well, all my builds run over night while I'm sleeping so it's no big deal.
sasquatch
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post by sasquatch »

I bet somebody knows the answer and is just not telling. That, or maybe you guys (unofficial builders) yet again have found a speedup which benefits everybody, and it is just in need of fixing.
Legoguy
Posts: 255
Joined: June 21st, 2003, 7:21 pm
Location: Gurnee, IL
Contact:

Post by Legoguy »

Here, on Gentoo Linux, both my laptop (AMD Athlon XP-M 2500+ (about 1.87 ghz), 448mb RAM) and desktop (Intel Pentium 4 2.26ghz, 512mb RAM) have had steady build times of about 36 minutes.

(unsuprisingly, the laptop with AMD is an exact 18 seconds faster than the desktop, according to my last build) ;)
User avatar
moole
Posts: 908
Joined: October 22nd, 2003, 1:27 pm
Location: Split, Croatia

Post by moole »

I have a AMD Barton-M 2500+ working at 3200+ (200 MHz FSB) on a Abit AN7 with 2*256 MB Kingmax DDR 433 (2-3-2-5). Desktop computer, of course.

compile time is 30 minutes
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

I've had three builds crash on me (I just restart). I suspect I blew the memory limit on my machine (I don't have a pagefile so bad stuff happens when I blow memory). If the current one doesn't finish, I'll have to create a page file.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
Post Reply