On 07/13/2011 06:27 PM, Tommaso Cucinotta wrote: > Il 13/07/2011 20:32, John McCabe-Dansted ha scritto: >> I have begun developing benchmark utilities for LyX. These can be >> found by doing >> git clone g...@github.com:gmatht/Jankey.git >> cd Jankey/Benchmarks/ >> >> Running these benchmarks reports that that the resource usage of LyX >> has been growing in a number of discrete jumps, the most significant >> of these is r38163; increasing running time by about %15 and doubling >> memory usage. This seems wrong to me; all r38163 is meant to do is >> print some untranslated entries. I haven't been able to reproduce this >> manually, but I get this result consistently with the benchmark tool. > > one trivial questions (sorry to ask): > 1) are you sure power management was disabled on your machine while > running these benchmarks ? > 2) are you sure the compile-flags with which the various revisions > were compiled are all the same ? > 3) do you get anything different if you launch lyx with something like > "chrt -f 1 lyx <args...>" ? Just to rule out some random process that > interfered with the program maybe activated by cron or similar (ok, we > still have xorg and Qt/Kde that will interfere, however better than > going CFS :-) ). > The biggest thing I'd check here is that debugging stuff is disabled, i.e., that we are compiling --enable-build-type=rel. The string checks that stdlib-debug does take forever.
Richard