[Poppler-bugs] [Bug 50992] library should be thread-safe

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 12 12:16:24 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=50992

Thomas Freitag <Thomas.Freitag at alfa.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #65138|0                           |1
        is obsolete|                            |

--- Comment #36 from Thomas Freitag <Thomas.Freitag at alfa.de> 2012-08-12 19:16:24 UTC ---
Created attachment 65478
  --> https://bugs.freedesktop.org/attachment.cgi?id=65478
Correction for thread safe page rendering

I was curious: even if I thought, that on my dual core processor the regtest
with and without the testcase patch from comment 16 doesn't make any
difference, because regtesting is already split in two tasks (rendering odd and
even page numbers), I started the regtest for bug 52488 together with this
patch and the testcase on top.
I encountered several problem with the former thread-safe patch (a big problem
were annotations: they are fetched over the xref member of PDFDoc!), but I was
able to solve the problems all, therefore here now a new patch with a better
implementation.
And now it comes: the regtest over my PDF Suite reduces from
3 hours, 40 minutes and 50 seconds
to
3 hours, 2 minutes and 6 seconds
I think, that's a big enhancement, and perhaps we should think about to cleanup
the testcase and commit it, too!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list