RE: [GD-General] Compile times
Brought to you by:
vexxed72
|
From: Chris C. <cca...@io...> - 2002-12-10 00:38:37
|
> Since we just spent 1/2 a day playing with VC6 PCH setups and testing > compile speeds I'll throw ours in. (P4 2.8 / 512mb ) [snip] Out of curiousity, what's the general size of your codebase? I downloaded the Quake2 source myself to take a look and do a test build in .Net (~2 minutes on my 1Ghz laptop), and I noticed that the codebase is substantally smaller than ours. Quake2: .c - 188 files, 3.9MB .h - 78 files, 0.6MB Our codebase (which includes the editor, and admittedly a ton of code that could use some re-engineering/stripping): .cpp - 1188 files, 14.6MB .h - 1450 files, 5.8MB I'm currently in the middle of untangling a bunch of our header dependencies that are really pretty nasty, and there's way way way too much code in headers right now. Our builds are currently in the 20 minute range, which I'm trying to improve. We use some STL, though tend to use our own, simpler containers, and don't use a whole lot of templates other than that. Hearing all these sub-five-minute build times is making my mouth water, but do we have a codebase that's just WAY bigger than those that are sporting such fast builds? -Chris |