there is also activity manager.

<Archaeopteryx> wsm: seem like it starts here: 
http://mxr.mozilla.org/comm-central/source/mail/components/activity/modules/autosync.js#283
<Archaeopteryx> and onProgressChange gets called too much: 
http://mxr.mozilla.org/comm-central/source/mail/components/activity/content/activity.xml#485
<wsm>   Archaeopteryx: see also 
https://bugzilla.mozilla.org/show_bug.cgi?id=742697#c14
<firebot>       Bug 742697 nor, --, ---, acelists, NEW, SMTP connection 
progress bar causes high CPU usage
<wsm>   how do you know it is called too much?
<Archaeopteryx> just a guess because i see no throtteling code. autsync's 
comment says it want to prevent event overflow, but it don't see bundling 
messaes per account at 
http://mxr.mozilla.org/comm-central/source/mail/components/activity/modules/autosync.js#249
 which calls setProgress. you could verify with logging enabled, 
onDownloadStarted logs in the first lines

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/109943

Title:
  Thunderbird: high CPU usage from progress bars

Status in Mozilla Thunderbird Mail and News:
  Confirmed
Status in “thunderbird” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: mozilla-thunderbird

  When sending a simple and short email with Thunderbird via SMTP the
  CPU is used intensively. This seems not to be necessary. If the
  sending failed and an corresponding error message dialog appears, the
  CPU is still being used. When pressing ok to close the error dialog
  the CPU is fine. This suggests it might be related specifically to the
  progress bar.  Such behavior is especially annoying on a laptop where
  you can hear the CPU usage because of a starting fan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/109943/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to