After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694836 - Increase search performance by reducing signal emissions
Increase search performance by reducing signal emissions
Status: RESOLVED DUPLICATE of bug 667569
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks: 635449
 
 
Reported: 2013-02-28 02:29 UTC by Germán Poo-Caamaño
Modified: 2014-05-03 08:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libview: increase search performance (1.26 KB, patch)
2013-02-28 02:29 UTC, Germán Poo-Caamaño
none Details | Review

Description Germán Poo-Caamaño 2013-02-28 02:29:03 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).
Comment 1 Germán Poo-Caamaño 2013-02-28 03:31:58 UTC
Stupid me, a similar (not exact) patch was already submitted in https://bugzilla.gnome.org/show_bug.cgi?id=667569
Comment 2 Germán Poo-Caamaño 2013-02-28 03:48:58 UTC

*** This bug has been marked as a duplicate of bug 667569 ***