[HELP] fdo#51239 how to debug "it is slow"

Michael Meeks michael.meeks at suse.com
Fri Jul 20 07:23:50 PDT 2012

On Thu, 2012-07-19 at 18:09 +0200, Stephan Bergmann wrote:
> This is about direct use of JNI, not via UNO.

	Ah - I wonder ... ;-) if it is the transition that is the problem;
could we have a Java thread polling a loopback socket and sucking simple
commands & parsing & executing them, then passing the data back in some
other form ;-> It'd be hideous if that actually was quicker than a
direct JNI call but ... ;-) it's possible. Particularly in the world of
under-utilized multi-threaded CPUs it might not be -so- bad.

	Bit of a pain cross-platform, but might work for suitably chunky
methods; I wonder - could we use the wonder binary-urp magic to
prototype it [ though I guess we'd need a native Java implementation of
that - hmm ].

	Urgh !


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

More information about the LibreOffice mailing list