GNOME Bugzilla – Bug 694836
Increase search performance by reducing signal emissions
Last modified: 2014-05-03 08:53:30 UTC
Created attachment 237576 [details] [review] libview: increase search performance I am filing a new bug and attaching the patch https://bugzilla.gnome.org/show_bug.cgi?id=346541#c6 as recommended in the bug. I tested the patch and the search performance is notorious. Here is the commit message: Reduces text search duration by emitting less signals during search. In the PDF reference 1.7 I searched by Quadrilat, without this patch evince emits 'job_find' 1479 times. With this patch, evince emits 'job_find' 243 times, and it takes almost half of the time to find a word (~11 secs versus ~6 secs).
Stupid me, a similar (not exact) patch was already submitted in https://bugzilla.gnome.org/show_bug.cgi?id=667569
*** This bug has been marked as a duplicate of bug 667569 ***