Revision 880422

Go back to digest for 9th November 2008

Optimization in Networking Tools

Joris Guisson committed changes in /trunk/extragear/network/ktorrent:

Made significant performance improvements when handling torrents with a lot of files:
- No longer register one object for each file to DBus, instead expand DBusTorrent interface to include files too (results in much faster start up times))
- No longer use signals to get notified of download priority changes (connecting signals to a lot of object is slow)

File Changes

Modified 14 files
  • /trunk/extragear/network/ktorrent
  •   /ktorrent/CMakeLists.txt
  •   /ktorrent/gui.cpp
  •   /ktorrent/dbus/dbustorrent.cpp
  •   /ktorrent/dbus/dbustorrent.h
  •   /libbtcore/diskio/chunkmanager.cpp
  •   /libbtcore/diskio/chunkmanager.h
  •   /libbtcore/torrent/torrent.cpp
  •   /libbtcore/torrent/torrent.h
  •   /libbtcore/torrent/torrentcontrol.cpp
  •   /libbtcore/torrent/torrentcreator.cpp
  •   /libbtcore/torrent/torrentfile.cpp
  •   /libbtcore/torrent/torrentfile.h
  •   /libbtcore/util/timer.h
  •   /plugins/scripting/scripts/test.py
14 files changed in total