notes for upstream commit r11740:

reduce unnecessary re-rendering in the main window

The main window called gtk_tree_model_filter_refilter() once per second
to refresh the torrent list's filtering. This is not an efficient
approach: gtk_tree_model_filter_refilter() emits a "row changed" event
for every row, causing unnecessary re-rendering.

I've removed the call to gtk_tree_model_filter_refilter() and expanded
the model to include all the fields necessary for filtering. That way we
only fire "row changed" events for rows that actually change.

By reducing the number of renders in steady state, this might ameliorate
https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/655024

However it will *not* help the related "CPU spikes to 100% on scrolling"
ticket at  https://trac.transmissionbt.com/ticket/3887 because rendering
paused torrents is still exceptionally expensive in the murrine theme.


** Bug watch added: Transmission Trac #3887
   http://trac.transmissionbt.com/ticket/3887

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/655024

Title:
  Using higher cpu usage

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to