Stuff Michael Meeks is doing |
Older items: 2023: ( J F M A M J ), 2022: ( J F M A M J J A S O N D ), 2021, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002, 2001, 2000, 1999, legacy html
tilebench
helper
that can be used to benchmark LibreOfficeKit tiled rendering. It
builds by default on Linux, and should show up in instdir/program
If you run:
cd instdir/program ; ./tilebench `pwd` /path/to/test/doc.odt
then it should produce some nice output a bit like this:profile run: initialization - 263.4392(ms) load document - 1097.3644(ms) getparts - 0.0222(ms) get size of parts - 0.0784(ms) render whole document - 74.4882(ms) render sub-region at 1:1 - 175.5018(ms) render sub-regions at scale - 388.7520(ms) destroy document - 178.5827(ms) Total: 2.1782(s)Which gives some timings for rendering a dozen tiles of pieces of your document at different sizes. This of course exercises the
headless
backend, which has quite some scope for
performance work. At least it's rather easy to use cachegrind to
profile the run-time there, and you find some
interesting
things.
My content in this blog and associated images / data under
images/
and data/
directories are (usually)
created by me and (unless obviously labelled otherwise) are licensed under
the public domain, and/or if that doesn't float your boat a CC0
license. I encourage linking back (of course) to help people decide for
themselves, in context, in the battle for ideas, and I love fixes /
improvements / corrections by private mail.
In case it's not painfully obvious: the reflections reflected here are my own; mine, all mine ! and don't reflect the views of Collabora, SUSE, Novell, The Document Foundation, Spaghetti Hurlers (International), or anyone else. It's also important to realise that I'm not in on the Swedish Conspiracy. Occasionally people ask for formal photos for conferences or fun.
Michael Meeks (michael.meeks@collabora.com)