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

2012-07-20 Thread Michael Meeks
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

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

2012-07-19 Thread Noel Grandin
On 2012-07-19 14:38, Lionel Elie Mamane wrote: For example, to minimise the number of Java calls from C++ , maybe we could, when we retrieve a whole row through JDBC, doing this from Java code instead of from C++ code: for (i=0; i < row->getNumberOfColumns; ++i) cacheEntry[i]=row->getColumn

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

2012-07-19 Thread Lionel Elie Mamane
On Thu, Jul 19, 2012 at 05:03:32PM +0100, Michael Meeks wrote: > On Thu, 2012-07-19 at 15:47 +0200, Lionel Elie Mamane wrote: >> I'm fond of my trampoline idea, but 't would have to be done in a >> clean way; not sure yet how. > Heh ;-) I'm still holding my breath for the end-of-problem Fir

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

2012-07-19 Thread Stephan Bergmann
On 07/19/2012 06:03 PM, Michael Meeks wrote: On Thu, 2012-07-19 at 15:47 +0200, Lionel Elie Mamane wrote: I'm fond of my trampoline idea, but 't would have to be done in a clean way; not sure yet how. Heh ;-) I'm still holding my breath for the end-of-problem Firebird solution myself .

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

2012-07-19 Thread Michael Meeks
On Thu, 2012-07-19 at 15:47 +0200, Lionel Elie Mamane wrote: > I'm fond of my trampoline idea, but 't would have to be done in a > clean way; not sure yet how. Heh ;-) I'm still holding my breath for the end-of-problem Firebird solution myself ... I wonder if there are some silli

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

2012-07-19 Thread Lionel Elie Mamane
On Thu, Jul 19, 2012 at 02:53:35PM +0200, Stephan Bergmann wrote: > On 07/19/2012 02:38 PM, Lionel Elie Mamane wrote: >> On Thu, Jul 19, 2012 at 02:12:30PM +0200, Stephan Bergmann wrote: >>> On 07/18/2012 10:06 AM, Lionel Elie Mamane wrote: >>> I noticed that there are truckloads of calls to >>> m

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

2012-07-19 Thread Stephan Bergmann
On 07/19/2012 02:38 PM, Lionel Elie Mamane wrote: On Thu, Jul 19, 2012 at 02:12:30PM +0200, Stephan Bergmann wrote: On 07/18/2012 10:06 AM, Lionel Elie Mamane wrote: The issue *originally* reported in fdo#51239, which has been bumped to fdo#52170: in LibreOffice 3.5.2, much slower than "before"

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

2012-07-19 Thread Lionel Elie Mamane
On Thu, Jul 19, 2012 at 02:12:30PM +0200, Stephan Bergmann wrote: > On 07/18/2012 10:06 AM, Lionel Elie Mamane wrote: >> The issue *originally* reported in fdo#51239, which has been bumped to >> fdo#52170: in LibreOffice 3.5.2, much slower than "before", on >> GNU/Linux, but NOT on Windows. Unknow

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

2012-07-19 Thread Stephan Bergmann
On 07/18/2012 10:06 AM, Lionel Elie Mamane wrote: The issue *originally* reported in fdo#51239, which has been bumped to fdo#52170: in LibreOffice 3.5.2, much slower than "before", on GNU/Linux, but NOT on Windows. Unknown on Mac. Not entirely clear what "before" it is. *This* issue *could* be JV

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

2012-07-17 Thread Lionel Elie Mamane
On Wed, Jul 11, 2012 at 12:10:09PM +0200, Lubos Lunak wrote: > On Wednesday 11 of July 2012, Lionel Elie Mamane wrote: >> I'd appreciate some help on fdo#51239 which is of the form "doing this >> is horribly slow"; how can I profile LibO, i.e. find out where it >> spends all its time; if it spends

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

2012-07-11 Thread Noel Grandin
try googling for "profiling C++" or "profiling on system here>" On 2012-07-11 11:48, Lionel Elie Mamane wrote: I'd appreciate some help on fdo#51239 which is of the form "doing this is horribly slow"; how can I profile LibO, i.e. find out where it spends all its time; if it spends a lot of time

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

2012-07-11 Thread Lubos Lunak
On Wednesday 11 of July 2012, Lionel Elie Mamane wrote: > I'd appreciate some help on fdo#51239 which is of the form "doing this > is horribly slow"; how can I profile LibO, i.e. find out where it > spends all its time; if it spends a lot of time in function FOO, can I > also get information on wha

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

2012-07-11 Thread Lionel Elie Mamane
I'd appreciate some help on fdo#51239 which is of the form "doing this is horribly slow"; how can I profile LibO, i.e. find out where it spends all its time; if it spends a lot of time in function FOO, can I also get information on what the call stack looks like "most of the time"? Either someone