Opened 11 years ago

Closed 11 years ago

#2248 closed patch (Fixed)

Cache tracker icons in gtkui

Reported by: bro Owned by:
Priority: minor Milestone: 1.3.6
Component: GTK UI Version: master
Keywords: Cc:

Description

The tracker icons are loaded with gtk.gdk.pixbuf_new_from_file_at_size each time they're requested. Caching them reduces CPU time to a third for this function.

This is the patch mentioned in http://dev.deluge-torrent.org/ticket/2184#comment:1 for master branch.

https://github.com/bendikro/deluge/commit/master-tracker_icon_cache_fix

Change History (1)

comment:1 Changed 11 years ago by Cas

  • Milestone changed from performance to 1.3.6
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 1.3-stable: 36a78d8f219f

Note: See TracTickets for help on using tickets.