Did you know that the OpenOffice.org Wiki has a WYSIWYG editor? See Help:FCKeditor

Build Environment Effort/Performance

From OpenOffice.org Wiki

Jump to: navigation, search

Image:Edit.png

Build Environment Effort

Quick Navigation

About this template


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


allnonedeps
pch, module dependencies21:390:080:45
no pch, module dependencies25:040:080:45
no pch, full dependencies26:140:121:42
pch, full dependencies22:540:121:42

The same with sw:

allnonedeps
pch, module dependencies12:380:121:05
no pch, module dependencies26:520:101:07
no pch, full dependencies27:180:152:08
pch, full dependencies14:150:182:06

And with svx:

allnonedeps
pch, module dependencies11:020:090:55
no pch, module dependencies19:170:070:54
no pch, full dependencies19:540:111:46
pch, full dependencies11:570:131: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
Create a book