<div style="text-align: left;">Personally, I see that a lot of people are using the nv driver and expereincing slow gtk performance.  Unless I am mistaken, and I'm fairly cerain I'm not, this can be explained and is NOT A COINCIDENCE.  My apppologies to those of you using nvidia who will ultimately agree with this.<br>
<br>Firstly:  The NV driver is non-accelerated, which means that it is able to use the full capabilies of the card (frequency, height, width, etc), however is does so at the most basic level imaginable, the nv driver *allows* function.  GTK on the other hand, IS accelerated, or rather is designed to be, and relies IIRC on XLibMesa.  IIRC, that means that when an activity (like scrolling) is activated, it's going to use 100% CPU becuase CPU's aren't optimized for graphics processing (It generates a lot of flops).  Conversly, using 'nvidia' AND minimal Effects (Enables GLX) WILL reduce the CPU load for scrolling, depending on your graphics processor.  At some level, a slower GPU WILL cause scrolling to lag/jump, but less-so than using a processor for the same operation.  <br>
<br>Secondly: People seem to always want to compare apples to oranges.  this has already been covered, GNOME/GTK !+ KDE/Qt, Scintilla != Emacs/Vim. Perhaps a more inteligent argument would be to use vi/vim as the editor instead of scintilla.  If this is what you want, you probably don't want geany. <br>
<br>Sixth & Lastly: Complaning about performance (that is the idea of this thread, no?) seems silly to me.  When one uses a software product so defined by choice, one should function within the bounds of that aim, eh? If this application (geany) doesn't meet your needs, then find a better solution.  If this is the best solution for you, then, I'm not sure why you're making the complaint.<br>
<br>Thirdly: If you are largely offended by the above, and feel that my commentary is offtopic or out of line, please consider me ignorant and rude, as you probably already have.  It remains that if you considered this a bug, you would have posted it as such, but rather than doing so, you have made it a topic of discussion, and I largely respond by saying that geany is NOT slow, nor are scrolling or any other operation slow. IMO, especially as compared to Industry standards such as ecliplse, visual studio, etc, geany is quite quick, especially where it counts.  I have selected geany over those, based almost entirely on speed and features.  <br>
<br></div><br><div class="gmail_quote">On Thu, Dec 4, 2008 at 8:33 AM, Enrico Tröger <span dir="ltr"><<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 4 Dec 2008 01:35:25 +0100, Jakub Misak <<a href="mailto:jmisak@centrum.cz">jmisak@centrum.cz</a>><br>
wrote:<br>
<br>
</div><div class="Ih2E3d">>Hello,<br>
><br>
>I found Geany some time ago, searching for a simple, small IDE, and<br>
>while it definitely looks very nice, the thing that surprised me<br>
>the most was how incredibly slow the editor was. I tried many<br>
>different editors before, and while GTK+ based ones have always been<br>
>slower than others, with higher CPU overhead, I've never seen anything<br>
>as slow as Geany (and SciTE, to be fair) - for example, in a C++ file,<br>
>holding the left/right keys (so the cursor keeps going to left/right)<br>
>consumes over 50% of CPU and it even stutters, stumbles on brackets,<br>
>holding the up/down keys is even more CPU intensive, the editor<br>
>actually cannot keep up with the cursor movement, the same with<br>
<br>
</div>I never experienced such heavy problems with just moving the cursor. I<br>
must admit, I'm mostly working on my desktop, an Athlon 64 X2 4600+.<br>
But I can't remember noticing such behaviour with my laptop (1.5GHz<br>
Celeron) nor with my old desktop (1.8 GHz Athlon single-core, IIRC).<br>
<div class="Ih2E3d"><br>
<br>
>scrolling (which is slow and laggy - the scrollbar cannot update<br>
>itself fast enough, it jumps instead of moving continuously), and also<br>
<br>
</div>Yeah, that is Scintilla. It is known that Scintilla performs not that<br>
good on scrolling. It was reported several times to Scintilla but Neil,<br>
the developer stated that it is not is highest priority to work on this.<br>
Feel free to fix the code, make things better and ideally provide a<br>
patch. It's open-source.<br>
<div class="Ih2E3d"><br>
<br>
>it does not lag so much. The extremely slow editor also affects the<br>
>main menu redrawing performance - when a blank file is open in the<br>
>editor, the menu can redraw as fast as in any other GTK+ app (i.e.<br>
>fast enough), with a plain text file, it's slower, but when a .cpp<br>
>file is loaded, again the redrawing is extremely slow, the menu cannot<br>
>keep up with the mouse (when I ride through the menu from left to<br>
>right, for example).<br>
<br>
</div>This is almost completely independent from Geany, the menu is drawn by<br>
GTK. Except for a few callbacks which are ran when a submenu is opened,<br>
Geany itself isn't involved there.<br>
<div class="Ih2E3d"><br>
<br>
>Now, I know it sounds as if my computer is broken, but when I compare<br>
>it with other editors: for example in emacs, the CPU usage while<br>
>holding the arrow keys is about 0% (even in the GTK+ version), other,<br>
<br>
</div>Never ever compare Geany with emacs. Also the GTK version of emacs is<br>
in no way comparable. The editing widget of emacs is not based on GTK<br>
whereas Scintilla is.<br>
<div class="Ih2E3d"><br>
<br>
>more modern and heavyweight editors like the Kate-based ones (KDE)<br>
>consume about 2-3 times less CPU cycles than Geany does for these basic<br>
<br>
</div>This is again incomparable because KDE != GTK.<br>
<div class="Ih2E3d"><br>
<br>
>tasks like selection, typing and scrolling, the same applies even to<br>
>the gedit editor in GNOME, with its syntax higlighting - even though<br>
>it's GTK+ based, there are no lags and 100% CPU usage at all.<br>
><br>
>Is there anything that can be done about it? Or is it just my computer?<br>
>It's a 2.4 GHz P4 with the nv driver for X.org, tried it on Debian and<br>
>Arch Linux, which are both pretty lightweight to begin with... Is the<br>
<br>
</div>Same here. I'm using Debian since years, switched lately to ArchLinux<br>
for a few months but finally back to Debian.<br>
Except for the known scrolling performance issue, I'm afraid to not<br>
know what's the problem.<br>
Of course, Geany is not as fast as emacs, no doubt on that. But your<br>
described behaviour when switching between menus, is really GTK. But<br>
your system should be fast enough to not cover such issues, IMO.<br>
<br>
<br>
Regards,<br>
Enrico<br>
<font color="#888888"><br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</font><br>_______________________________________________<br>
Geany mailing list<br>
<a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>/ˈmɪstər/ /ˈdʒɛnəsɪs/@/dʒi/ /meɪl/ /dɒt/ /kɒm/<br>Benjamin West<br><br>