meanwhile, goes and measures some build times and codebase sizes, finds it curious that they appear to roughly fall along an x^2 curve... ( as if the build time is roughly proportional to the square of the total kLOC ?... ).
Which compilers? Is this individual source file times/kLOC or total project?
-
-
mostly total project time, some MSVC, some GCC; some C, some C++. noted: BGBCC, ~80kLOC in ~2s; Quake 1 ~100kLOC in ~5s; Quake 3 ~300kLOC in ~15s; Doom3 ~800kLOC in ~4min; Clang ~2.6MLOC in ~40min. oddly, appears very roughly to approximate x^2...
-
add: my BGBTech2 engine is currently ~220 kLOC in 45s; which per-scale compares a bit worse than some of the other projects (hmm...). this makes it an outlier, and there isn't an obvious / easily measurable correlation here... maybe not so simple...
-
ADD2: 'find' didn't follow symlink, it is actually ~340 kLOC in 45s (as C compiled with MSVC). if throughput as kLOC/second: BGBTech2 engine ~8 kLOC/sec; Doom3 ~3 kLOC/sec; Clang ~1 kLOC/sec; and Quake 1 and 3 ~ 20 kLOC/sec.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.