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 323965 - new hl engine performance bottleneck
new hl engine performance bottleneck
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Marco Barisione
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-13 11:46 UTC by Paolo Borelli
Modified: 2006-01-12 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
profile seems pretty clear (61.89 KB, image/png)
2005-12-13 11:50 UTC, Paolo Borelli
Details

Description Paolo Borelli 2005-12-13 11:46:14 UTC
Noticed by Muntyan while testing, reporting it here so it doesn't get lost.

With the new hl engine open a big file for instance pygtk's autiogenerated gtk.c
and press Ctrl+End to move to the end: the hl crowls.
Comment 1 Paolo Borelli 2005-12-13 11:50:57 UTC
Created attachment 55936 [details]
profile seems pretty clear

The profile seems quite clear.

I guess we could cache the last sibling, but the question that we maybe need to
answer before is why we need the last sibling so often
Comment 2 Jeroen Zwartepoorte 2006-01-12 08:52:30 UTC
Thanks for fixing this. This also seems to fix an earlier performance bug i noticed: start a new multiline comment and type lots of text on the line (no closing "*/"):

/* asdkjfhaksdjhflakjsdhflakjshdf...

This used to require lots of CPU.