From: Helge S. <Hel...@gm...> - 2003-08-29 17:22:01
|
On Thu, 28 Aug 2003, Dominique Devienne wrote: > > This is what I've seen from applying the patch, in one of my projects, > with 1569 .cpp, 1944 .h, 48 .hpp, so a good size project already, totaling > 1,178,784 lines of code (including comments). > > First Full Analysis Subsequent Analysis > Official CppTasks: 63 seconds +/- 2 24 seconds +/- 1 > Patched CppTasks: 61 seconds +/- 0 19 seconds +/- 1 > > Note that this timing is the full build time, including Ant startup, and > recursing the directory tree, since the projects is composed of 30+ libs, > as well deciding that 423 Java files are up to date. > > Compare this to the full time to build (a few seconds taken by Java > compile): 21 minutes 28 seconds. OpenSHORE (http://sf.net/projects/openshore) has 321 .cpp, 419 .h and 249 .java source files. It has 210,571 lines of code (including comments). Here are my timings for the whole project (27 C++ libs, without Java translation): First Full Analysis Subsequent Analysis Official CppTasks: 271 seconds +/- 2 268 seconds +/- 0 Patched CppTasks: 7 seconds +/- 1 6 seconds +/- 0 Full rebuild (target shore-server): 9 minutes 57 seconds. > So all in all, I'm seeing very little benefit from this myself. Ok, but you have no slow down. > The project I've tested the patch against is very mature, and has very > few headers including unnecessary headers (forward prototyping of > everything used as pointers/references). Headers of OpenSHORE contains many C++ template implementations, so simple forward declarations aren't possible. > That's certainly not 1000 times faster :( Better then slow down :-) Helge -- Helge Schulz http://www.openshore.org |