-
Notifications
You must be signed in to change notification settings - Fork 179
Improve performance #150
Comments
Yes, there is an approximately 5 second gap between entering ls -lart in finalterm and getting the output in some cases... |
I've noticed that when my finalterm window is just sitting there doing nothing (apart from the cursor blinking), it uses around 10% CPU. Granted, the cursor blinks beautifully, with a nice fade-in and fade-out ;) I'd suggest that as a first target for performance improvement: use less than 1% CPU when not doing anything. |
@bl8: Do you have hardware acceleration on your system? |
Yes, I'm using the NVidia proprietary driver, version 304.88. |
Partially addressed by 409cc6c. I measured a rendering speedup factor of 3-10 with this commit depending on the shell program being run. |
30ad381 brings another substantial speedup. |
6c29e45 is yet another step towards better performance. |
And 392e630 is yet another one. |
The story continues in 90399eb. |
As for the CPU usage mentioned by @bl8: This appears to be a Clutter/GNOME Shell problem. I see the same behavior on one of my systems and while Final Term does always use 10% CPU there as well, so does |
Update on CPU usage: It turns out that disabling the cursor animation brings the idle CPU consumption close to zero, with the animation it's around 5-6% on a quadcore. Who is to blame, then, and how can we fix it? Difficult to say IMO. The fact that the |
Another piece in the CPU usage puzzle: Every animation cycle apparently forces a complete repaint of line_container, which is where the CPU usage actually occurs. |
See https://mail.gnome.org/archives/commits-list/2009-October/msg00814.html for a Clutter application that seems to have had a similar problem. Their solution: Disable the animation. This is a massive problem with Clutter if disabling the animation is indeed the only way to lower CPU usage. |
Another huge performance improvement comes with bc408a9, which at last brings constant-time adding of LineViews. Final Term's performance (i.e. speed) is now roughly 8 times slower than GNOME Terminal's, which I find sufficient for an initial release. The only issue left in this bug is the absurdly high CPU consumption. |
@x2q: Are you using the latest master (note that the PPA is currently not building, and thus outdated)? Because on all my machines, |
+1 When running repeatedly ant tasks (timespan is about 4h) the terminal gets so slow that I have to restart it. After that it works again, for about 4h. |
Autocomplete gets unacceptably slow after many commands are given, especially when typing frequent phrases like |
@arkocal: Yes, I noticed that, though only after I upgraded to GNOME Shell 3.10 earlier this year. Should be possible to make it a lot faster given that all autocomplete data is in memory (maybe by limiting the number of results). |
…Label. Provides large proformance increase. Fixes p-e-w#150.
Final Term's performance is currently very poor due to several issues:
Related issues will be linked to this one and closed as duplicates.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: