[Libreoffice] Trying to diagnose base running extremely slowly

Noel Grandin noel at peralex.com
Fri Jan 13 00:59:14 PST 2012


Surely now that it's confined to a single thread, it can just call 
AttachThread() once at startup, and never need to call DetachThread() ?

-- Noel Grandin

On 2012-01-13 10:54, Stephan Bergmann wrote:
> On 01/12/2012 02:18 PM, Michael Meeks wrote:
>> On Thu, 2012-01-12 at 10:44 +0100, Stephan Bergmann wrote:
>>> One drawback of using the thread-affine apartment is that all code
>>> related to the JDBC driver is effectively serialized, removing any
>>> potential performance advantage from accessing the driver from multiple
>>> treads.  I do not know whether that is acceptable or not.
>>
>>     Given the generally tangled locking everywhere I would expect that
>> virtually everything is serialised anyway ;-) so ...
>>
>>     It'd be great to have a fix for the base guys I guess.
>
> Yeah, probably not worth it bothering about MT-performance here. 
> Anyway, pushed now to libreoffice-3-5 and master.
>
> Stephan
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libreoffice
>

Disclaimer: http://www.peralex.com/disclaimer.html




More information about the LibreOffice mailing list