← Back to team overview

qpdfview team mailing list archive

Re: [Question #434376]: Feature request: multi-core use for search

 

Question #434376 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/434376

    Status: Open => Answered

Adam Reichold proposed the following answer:
Hello,

implementing parallel search of pages of a single document within
qpdfview is pretty straight forward if I am not mistaken, in any case I
just pushed this into trunk but hidden behind a setting called "Parallel
search execution" (on the "Behavior" tab in the settings dialog). But I
am not sure this will improve performance that much since most of the
libraries qpdfview calls into need external locking so that only one
core will be busy at any point in time, but of course with a recent
Poppler version things might look different. And when it does not help,
it will only increase overhead and hence actually reduce performance, so
it is currently disabled by default. But if you build from source or
grab a daily build for Ubuntu, OpenSUSE or Arch you should be able to
try this out and check if it helps your use case.

Best regards, Adam.

-- 
You received this question notification because your team qpdfview is an
answer contact for qpdfview.