2009/12/5 Richard Heck: > On 12/05/2009 05:47 PM, Vincent van Ravesteijn wrote: >> We've updated the layout format from 11 (branch) to 19 now (trunk). Each >> time when LyX reads a layout file, it converts it to format 19. This is >> shown as the creation of all those temporary files in your logfiles. >> >> Maybe that's the cause of the slowdown we experience. >> >> I guess we must make sure that all layouts are at format 19 whenever the >> next major release is set. >> > Yes, we usually do this, and it's fairly trivial to run a script to update > them now. Perhaps I'll do that over the weekend.
Wow Richard, that was quick! My load time is now 12 seconds. (See attached file.) Back to the original topic... Peter, is there anything I can do to test out your patches? -Ben
Setting debug level to files Debugging `files' (Files used by LyX) ../../../src/support/filetools.cpp(327): createTmpDir: tempdir=`/tmp' createTmpDir: mask=`lyx_tmpdir' ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820' created. ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/thesis.lyx" 1197871555 lasted 2 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.J16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.x16820' created. ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/goals.lyx" 4250856169 lasted 1 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.u16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.W16820' created. ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/morse-theory.lyx" 677438358 lasted 8 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.E16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.M16820' created. ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/thesismacros.lyx" 3130732670 lasted 1 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.K16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.j16820' created. ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/estimates.lyx" 1004597087 lasted 18 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.L16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.M16820' created. ../../src/Buffer.cpp(258): Warning: a buffer should not have two parents! ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/coordinates.lyx" 2078743143 lasted 12 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.B16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.Q16820' created. ../../src/Buffer.cpp(258): Warning: a buffer should not have two parents! ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/apx-def.lyx" 1104068902 lasted 20 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.a16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.H16820' created. ../../src/Buffer.cpp(258): Warning: a buffer should not have two parents! ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/apx-comp.lyx" 1496303534 lasted 11 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.H16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.D16820' created. ../../src/Buffer.cpp(258): Warning: a buffer should not have two parents! ../../../src/support/FileName.cpp(573): Checksumming "/cygdrive/c/Users/Ben/Documents/Math/apx-witten.lyx" 1649193421 lasted 3 ms. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/Buffer_readFile ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/Buffer_readFile.R16820' created. ../../../src/support/FileName.cpp(438): Temporary file in /tmp/lyx_tmpdir.L16820/convert_layout ../../../src/support/FileName.cpp(426): Temporary file `/tmp/lyx_tmpdir.L16820/convert_layout.w16820' created. ../../src/Buffer.cpp(258): Warning: a buffer should not have two parents! ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.a16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.B16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.E16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.H16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.J16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.K16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.L16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.R16820 ../../../src/support/FileName.cpp(606): Removing file /tmp/lyx_tmpdir.L16820/Buffer_readFile.u16820