Okay, I have looked into this further. With that testcase merging *all* subsequent chapters into Chapter one.
- a bunch of time verifying all xhtml is wellformed
- a bunch if time verifying no ids are undefined
ignoring those for now, the rest of the time is split up in 4 pieces
- doing the actual merge itself 2 seconds
- deleting all of the resources that was merged about 30 seconds
- updating all other links in non-merged files and the ncx, about a second
The remaining time is spent loading CodeView with the merged file (fast) and then CV running its synchronized syntax highlighting which includes completely spell checking the entire document and then loading Preview (fast since now asynchronous in my local build).
So if you use Preferences to turn off spellchecking in CodeView (no highlighting) you see a huge speedup.
So could someone turn off Preview, and turn off CV spellchecking in Preferences, and try timing that merge testcase again? How much improvement did you get?
|