> linux use gprof then. you need to compile lyx with enabled profiling. try configure --enable-profile --disable-stdlib-debug and make sure that when making gcc gets -pg option (which is not case for me eg, dunno why).
then try gprof /usr/bin/lyx gmon.out > gprof.out pavel