Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK thanks to moggi on libreoffice-dev irc, I installed valgrind.


Found that running in one terminal:
valgrind --trace-children=yes --tool=callgrind  ./swriter


and in another terminal, after about 2 mins of "empty swriter document
idle" doing this:

callgrind_control -b 28236  (the actual swriter PID)
gives this:
PID 28236:
/home/arno/sys/libreoffice-git/core/solver/unxlngx6.pro/installation/opt/program/soffice.bin
- --writer --splash-pipe=6 [requesting 'Status'...]

  Frame: Backtrace for Thread 1
   [ 0]  _int_free (967869 x)
   [ 1]  free_check (983990 x)
   [ 2]  free (449741 x)
   [ 3]  operator delete(void*) (322182 x)
   [ 4]  GtkHookedYieldMutex::ThreadsEnter() (322183 x)
   [ 5]  GdkThreadsEnter (161078 x)
   [ 6]  0x0000000000059cf0 (161078 x)
   [ 7]  g_main_context_prepare (161147 x)
   [ 8]  0x0000000000042ed0 (161130 x)
   [ 9]  g_main_context_iteration (161010 x)
   [10]  GtkData::Yield(bool, bool) (161010 x)
   [11]  GtkInstance::Yield(bool, bool) (161010 x)
   [12]  Application::Yield(bool) (161009 x)


and a lot more, to be read at http://pastebin.com/YuEvQC4y

I don't have a clue about how to interpret this. But if these are
function calls, maybe about a million calls are much?

Compared to GIMP running idle for 5 minutes, and it had just about
5500 calls to different things...

Hope this tells someone something.

best
Arno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6sv00ACgkQEMIGVCc8BjBDdQCfcKW5nLDZJkSQ3JFxt2waYkwc
9WsAoLqzdWTYKhGGDPqsUBmT6fpAVh3N
=HmDk
-----END PGP SIGNATURE-----

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.