Merge lp:~chipaca/ubuntuone-client/holy-reactionary-reactors-batman into lp:ubuntuone-client
Proposed by
John Lenton
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Guillermo Gonzalez | ||||
Approved revision: | 148 | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~chipaca/ubuntuone-client/holy-reactionary-reactors-batman | ||||
Merge into: | lp:ubuntuone-client | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~chipaca/ubuntuone-client/holy-reactionary-reactors-batman | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guillermo Gonzalez | Approve | ||
Elliot Murphy (community) | Approve | ||
Review via email: mp+10185@code.launchpad.net |
Commit message
Use a subclass of Gtk2Reactor that uses low-res timers, for lower power consumption.
To post a comment you must log in.
This subclasses twisted. internet. gtk2reactor. Gtk2Reactor so we use timeout_add_seconds instead of timeout_add. This lowers the wakeups-per-second of both ubuntuone- syncdaemon and the applet by ONE MILLION THREE HUNDRED THOUSAND AND THIRTY EIGHT PERCENT.
Dobey quite rightly points out that for the applet, the right fix would be to fix oauthdesktop to use SimpleHTTPServer instead of the twisted server. He's right, as is usually the case, but he gets this for free, today.