[Bug 109943] Re: Thunderbird: high CPU usage from progress bars
John McPherson
jrm+launchpadbugs at wlug.org.nz
Tue May 11 23:40:49 UTC 2010
$ dpkg -l thunderbird | cat
ii thunderbird 3.0.4+nobinonly-0ubuntu4
$ ps ufax | grep thunderbird
mcp 2166 31.1 18.8 378524 89864 ? Sl 10:40 17:32 \_ /usr/lib/thunderbird-3.0.4/thunderbird-bin
$ strace -p 2166 2>&1 | head -n 20
Process 2166 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 1
gettimeofday({1273620600, 759410}, NULL) = 0
read(19, "\372", 1) = 1
gettimeofday({1273620600, 759608}, NULL) = 0
gettimeofday({1273620600, 759691}, NULL) = 0
write(20, "\372", 1) = 1
gettimeofday({1273620600, 760352}, NULL) = 0
gettimeofday({1273620600, 760412}, NULL) = 0
gettimeofday({1273620600, 760465}, NULL) = 0
futex(0xb75e5588, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xb75e5584, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
gettimeofday({1273620600, 760628}, NULL) = 0
gettimeofday({1273620600, 760763}, NULL) = 0
gettimeofday({1273620600, 760819}, NULL) = 0
gettimeofday({1273620600, 760880}, NULL) = 0
gettimeofday({1273620600, 761036}, NULL) = 0
gettimeofday({1273620600, 761090}, NULL) = 0
gettimeofday({1273620600, 761149}, NULL) = 0
gettimeofday({1273620600, 761212}, NULL) = 0
gettimeofday({1273620600, 761851}, NULL) = 0
It looks like the animation code is doing something very inefficient if
it's calling gettimeofday() thousands of times per second.
--
Thunderbird: high CPU usage from progress bars
https://bugs.launchpad.net/bugs/109943
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to thunderbird in ubuntu.
More information about the Ubuntu-mozillateam-bugs
mailing list