[libreoffice-dev] - questions about calc extension

Michael Meeks michael.meeks at suse.com
Thu Jan 10 08:33:37 PST 2013


> > What's your hunch about how long it should take to update 60K cells with {getCellByPosition(ii,jj) and setValue() } ?

	It should be ~instant - sub-second anyhow; it's an analog of loading
values from ODS. Kohei's suggestions are great:

> On Thu, 2013-01-10 at 10:59 -0500, Kohei Yoshida wrote:
> 2) Try lockControllers() and unlockControllers() to disable/enable 
> repainting while updating cell values.  The example of these methods 
> should be in my xcalc.cxx file I referenced earlier.

	You'd need to run callgrind like this:

export OOO_DISABLE_RECOVERY=1
valgrind --tool=callgrind --simulate-cache=yes --dump-instr=yes ./soffice.bin

	ie. on the soffice.bin not the wrapper script ;-)

	HTH,

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list