Apache OpenOffice (AOO) Bugzilla – Issue 125143
helpex Export::CopyFile is too slow
Last modified: 2017-05-20 10:35:05 UTC
Building the helpcontent2 module takes many minutes, especially when WITH_LANG is active. Tracing the build progress shows that the seemingly simple function CopyFile() takes a significant amount of time. Looking at the relevant code there is some copying of single lines going on, which could be replaced by something much faster.
"hdu" committed SVN revision 1604786 into trunk: #i125143# use bulk-copying instead of line-wise in helpex Export::CopyFile()
Fixed with the commit above. It has been measured to reduce the time per language by about 30%.
"hdu" committed SVN revision 1605044 into trunk: #i125143# reduce helpex stack usage to prevent intermittent failures
With so many languages in our releases and even more for AOO 4.1.1 such speedups for each language may help in the release process, so we should consider to merge the fix into the release branch.
grant showstopper flag not directly related for the release but a huge improvement to speed up the release preparation
"hdu" committed SVN revision 1608366 into branches/AOO410: #i125143# speedup helpex by using bulk-copy instead of doing it line-wise