Andrew Haley writes: > Mark Wielaard writes: > > On Wed, 2006-03-15 at 20:44 +0000, Caolan McNamara wrote: > > > On Wed, 2006-03-15 at 13:06 -0500, Andrew Overholt wrote: > > > > Is this true: > > > > > > > > "In OpenOffice.org, for instance, Java-based features such as the basic > > > > document wizards open so slowly that you may conclude that the program has > > > > frozen before anything happens." > > > > > > > > ? > > > > > > > > http://www.linux.com/article.pl?sid=06/03/08/2321254 > > I wonder what sort of machine he was using. > > > > > > > To test this wizard start-up time: File->wizards->letter. > > > > The first time you use an wizard is indeed pretty slow, it sits there > > eating up 100% CPU for a couple of seconds (at least on my > > Debian/unstable box, I cannot get ooffice from FC5/rawhide to work > > unfortunately. It seems stuck in the splash screen according to gdb > > somewhere in reading the font cache). But after that using the wizards > > works just fine. > > > > What was the magic oprofile incantation again to get a useful report > > about what is happening on the system? > > Here you are: Subsequent runs look like this, with libgcj only consuming 14% of CPU time: samples cum. samples % cum. % image name app name symbol name 9119 9119 22.7582 22.7582 no-vmlinux no-vmlinux (no symbols) 5738 14857 14.3203 37.0785 libuno_cppuhelpergcc3.so.3 libuno_cppuhelpergcc3.so.3 (no symbols) 4196 19053 10.4719 47.5505 libuno_sal.so.3 libuno_sal.so.3 (no symbols) 1450 20503 3.6188 51.1692 libtk680li.so libtk680li.so (no symbols) 1115 21618 2.7827 53.9519 libuno_cppu.so.3 libuno_cppu.so.3 (no symbols) 903 22521 2.2536 56.2055 libgcj.so.7.0.0 libgcj.so.7.0.0 GC_mark_from 899 23420 2.2436 58.4492 libpthread-2.3.90.so libpthread-2.3.90.so pthread_mutex_lock 867 24287 2.1638 60.6129 libvcl680li.so libvcl680li.so (no symbols) 822 25109 2.0515 62.6644 libgcj.so.7.0.0 libgcj.so.7.0.0 _Jv_InterpMethod::run(void*, ffi_raw*, _Jv_InterpMethod*) 798 25907 1.9916 64.6560 libpthread-2.3.90.so libpthread-2.3.90.so pthread_mutex_unlock 556 26463 1.3876 66.0436 libsw680li.so libsw680li.so (no symbols) 518 26981 1.2928 67.3363 libcrypto.so.0.9.8a libcrypto.so.0.9.8a (no symbols) 381 27362 0.9509 68.2872 libgcc_s-4.1.0-20060304.so.1 libgcc_s-4.1.0-20060304.so.1 _Unwind_IteratePhdrCallback 355 27717 0.8860 69.1732 libtl680li.so libtl680li.so (no symbols) 340 28057 0.8485 70.0217 libgcc_s-4.1.0-20060304.so.1 libgcc_s-4.1.0-20060304.so.1 execute_cfa_program 330 28387 0.8236 70.8453 libc-2.3.90.so libc-2.3.90.so memcpy samples| %| ------------------ 9119 22.7582 no-vmlinux 5738 14.3203 libuno_cppuhelpergcc3.so.3 5683 14.1830 libgcj.so.7.0.0 4196 10.4719 libuno_sal.so.3 1897 4.7343 libpthread-2.3.90.so 1762 4.3974 libc-2.3.90.so 1475 3.6812 libgcc_s-4.1.0-20060304.so.1 Andrew.