On Wed, 2013-01-09 at 23:18 +0000, Rai, Neeraj wrote:
> I looked a little more into your code and copied the getactiveSheet function.
> Now it takes 12s. I am happy.
> Sorry for the spam - you have good code sitting there.
12s sounds like a long time to me ;-> If you can run your macro under
callgrind:
export OOO_DISABLE_RECOVERY=1
valgrind --tool=callgrind --simulate-cache=yes \
--dump-instr=yes ./soffice.bin -writer --splash-pipe=0
(needs write-permission to the installed libreoffice directory to drop
it's callgrind.12345.txt file)
Then perhaps kcachegrind will show you something interesting for your
use-case.
HTH,
Michael.
--
[email protected] <><, Pseudo Engineer, itinerant idiot
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice