Difference between revisions of "Build Environment Effort/Performance"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Local build options)
(Comments)
Line 52: Line 52:
  
 
== Comments ==
 
== Comments ==
PCH makes a difference, interestingly much more for sc than for sw. So we should keep it for Windows builds. On Linux builds other options exist like e.g. CCACHE.
+
PCH makes a difference, interestingly much more for sw than for sc. So we should keep it for Windows builds. On Linux builds other options exist like e.g. CCACHE.
  
 
The most surprising result: working with full dependencies does not make any remarkable difference, even on Windows where stating files is considered to be expensive. The "noop" times clearly show that. Of course creating the dependency files is more expensive, but it's less than 10% of the complete build time.
 
The most surprising result: working with full dependencies does not make any remarkable difference, even on Windows where stating files is considered to be expensive. The "noop" times clearly show that. Of course creating the dependency files is more expensive, but it's less than 10% of the complete build time.

Revision as of 18:13, 7 September 2009

Local build options

Build times for pch and different kinds of dependencies

"full dependencies": build with MKDEPENDSOLVER=TRUE

sc, cygwin, Notebook, build -P4

  • all: no output trees, full build
  • none: just check that nothing must be built
  • deps: only build dependencies


all none deps
pch, module dependencies 21:39 0:08 0:45
no pch, module dependencies 25:04 0:08 0:45
no pch, full dependencies 26:14 0:12 1:42
pch, full dependencies 22:54 0:12 1:42

The same with sw:

all none deps
pch, module dependencies 12:38 0:12 1:05
no pch, module dependencies 26:52 0:10 1:07
no pch, full dependencies 27:18 0:15 2:08
pch, full dependencies 14:15 0:18 2:06

And with svx:

all none deps
pch, module dependencies 11:02 0:09 0:55
no pch, module dependencies 19:17 0:07 0:54
no pch, full dependencies 19:54 0:11 1:46
pch, full dependencies 11:57 0:13 1:48

Comments

PCH makes a difference, interestingly much more for sw than for sc. So we should keep it for Windows builds. On Linux builds other options exist like e.g. CCACHE.

The most surprising result: working with full dependencies does not make any remarkable difference, even on Windows where stating files is considered to be expensive. The "noop" times clearly show that. Of course creating the dependency files is more expensive, but it's less than 10% of the complete build time.

Personal tools