GNU bug report logs - #11135
gravatar slowdown

Previous Next

Package: gnus;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Fri, 30 Mar 2012 18:56:02 UTC

Severity: normal

Found in version 5.130004

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11135 in the body.
You can then email your comments to 11135 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#11135; Package gnus. (Fri, 30 Mar 2012 18:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dave Abrahams <dave <at> boostpro.com>:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Fri, 30 Mar 2012 18:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dave Abrahams <dave <at> boostpro.com>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: gravatar slowdown
Date: Fri, 30 Mar 2012 14:15:07 -0400
With gnus-treat-from-gravatar and gnus-treat-mail-gravatar set, I am
experiencing intolerable slowdowns... and have been for about a week.
For example, here's (the top of) an ELP profile from viewing a single
message.  I assume something relevant must have changed in the code
recently?

--8<---------------cut here---------------start------------->8---
gnus-summary-next-unread-article                                              1           30.152667     30.152667
gnus-summary-next-article                                                     1           30.152649     30.152649
gnus-summary-display-article                                                  1           30.152562     30.152562
gnus-article-prepare                                                          1           30.148796     30.148796
gnus-article-prepare-display                                                  1           30.098376     30.098376
gnus-display-mime                                                             1           30.098365     30.098365
gnus-treat-article                                                            2           30.062092     15.031046
gnus-gravatar-transform-address                                               3           30.055445     10.018481666
gravatar-retrieve                                                             8           30.054497     3.756812125
gnus-treat-mail-gravatar                                                      1           30.052792     30.052792
gnus-run-hooks                                                                8           0.0343350000  0.0042918750
gnus-harvest-addresses                                                        1           0.034008      0.034008
gnus-harvest-sqlite-invoke                                                    1           0.03134       0.03134
gnus-mime-display-part                                                        1           0.029573      0.029573
gnus-mime-display-alternative                                                 1           0.029567      0.029567
gnus-request-article-this-buffer                                              1           0.01433       0.01433
gravatar-cache-expired                                                        8           0.013118      0.00163975
gnus-request-article                                                          1           0.004253      0.004253
gnus-cache-request-article                                                    1           0.003954      0.003954
gnus-treat-from-gravatar                                                      1           0.002679      0.002679
gnus-summary-recenter                                                         1           0.002309      0.002309
gnus-article-treat-unfold-headers                                             1           0.002259      0.002259
gnus-backlog-enter-article                                                    1           0.00186       0.00186
gnus-agent-request-article                                                    1           0.001654      0.001654
gnus-article-treat-date                                                       1           0.001527      0.001527
gnus-possibly-generate-tree                                                   1           0.001097      0.001097
gnus-agent-article-name                                                       1           0.001081      0.001081
gnus-agent-group-pathname                                                     1           0.001044      0.001044
gnus-backlog-remove-oldest-article                                            1           0.000987      0.000987
gnus-article-setup-buffer                                                     1           0.000781      0.000781
gnus-article-maybe-hide-headers                                               1           0.000726      0.000726
gnus-article-hide-headers                                                     1           0.000719      0.000719
gnus-generate-horizontal-tree                                                 5           0.000712      0.0001424
gnus-set-mode-line                                                            4           0.0006840000  0.0001710000
gnus-generate-tree                                                            1           0.000644      0.000644
gnus-article-add-buttons-to-head                                              1           0.000633      0.000633
gnus-remove-thread                                                            1           0.000433      0.000433
gnus-gravatar-insert                                                          5           0.000428      8.56e-05
gnus-article-highlight-signature                                              2           0.000397      0.0001985
gnus-article-narrow-to-signature                                              2           0.000391      0.0001955
gnus-article-search-signature                                                 2           0.0003850000  0.0001925000
gnus-root-id                                                                  1           0.000361      0.000361
--8<---------------cut here---------------end--------------->8---






Ma Gnus v0.4
GNU Emacs 24.0.94.1 (x86_64-apple-darwin11.3.0, Carbon Version 1.6.0 AppKit 1138.32)
 of 2012-03-14 on pluto.luannocracy.com
200 Leafnode NNTP Daemon, version 1.11.8 running at localhost (my fqdn: pluto.boostpro.com)
500 Unknown command

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com





Information forwarded to bugs <at> gnus.org:
bug#11135; Package gnus. (Tue, 10 Apr 2012 18:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 11135 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 11135 <at> debbugs.gnu.org
Subject: Re: bug#11135: gravatar slowdown
Date: Tue, 10 Apr 2012 20:10:34 +0200
Dave Abrahams <dave <at> boostpro.com> writes:

> With gnus-treat-from-gravatar and gnus-treat-mail-gravatar set, I am
> experiencing intolerable slowdowns... and have been for about a week.
> For example, here's (the top of) an ELP profile from viewing a single
> message.  I assume something relevant must have changed in the code
> recently?

Not that I know of...

> gnus-summary-next-unread-article                                              1           30.152667     30.152667

Eek.

> gnus-gravatar-transform-address                                               3           30.055445     10.018481666
> gravatar-retrieve                                                             8           30.054497     3.756812125

This is rather puzzling.  `gravatar-retrieve' basically just calls
`url-retrieve', and that's an asynchronous function, and shouldn't take
much time at all.

Well, actually, it's not asynchronous if it doesn't manage to resolve
the domain name.  Could that be the problem?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#11135; Package gnus. (Tue, 10 Apr 2012 19:05:01 GMT) Full text and rfc822 format available.

Message #11 received at 11135 <at> debbugs.gnu.org (full text, mbox):

From: Dave Abrahams <dave <at> boostpro.com>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: 11135 <at> debbugs.gnu.org
Subject: Re: bug#11135: gravatar slowdown
Date: Tue, 10 Apr 2012 15:03:30 -0400
on Tue Apr 10 2012, Lars Magne Ingebrigtsen <larsi-AT-gnus.org> wrote:

> Dave Abrahams <dave <at> boostpro.com> writes:
>
>> With gnus-treat-from-gravatar and gnus-treat-mail-gravatar set, I am
>> experiencing intolerable slowdowns... and have been for about a week.
>> For example, here's (the top of) an ELP profile from viewing a single
>> message.  I assume something relevant must have changed in the code
>> recently?
>
> Not that I know of...
>
>> gnus-summary-next-unread-article                                              1           30.152667     30.152667
>
> Eek.
>
>> gnus-gravatar-transform-address                                               3           30.055445     10.018481666
>> gravatar-retrieve                                                             8           30.054497     3.756812125
>
> This is rather puzzling.  `gravatar-retrieve' basically just calls
> `url-retrieve', and that's an asynchronous function, and shouldn't take
> much time at all.
>
> Well, actually, it's not asynchronous if it doesn't manage to resolve
> the domain name.  Could that be the problem?

It could indeed.  I'm not seeing slowdowns anymore, but I remember
having domain name resolution issues around the time of this issue.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com




Reply sent to Lars Magne Ingebrigtsen <larsi <at> gnus.org>:
You have taken responsibility. (Tue, 10 Apr 2012 19:13:02 GMT) Full text and rfc822 format available.

Notification sent to Dave Abrahams <dave <at> boostpro.com>:
bug acknowledged by developer. (Tue, 10 Apr 2012 19:13:02 GMT) Full text and rfc822 format available.

Message #16 received at 11135-close <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Dave Abrahams <dave <at> boostpro.com>
Cc: 11135-close <at> debbugs.gnu.org
Subject: Re: bug#11135: gravatar slowdown
Date: Tue, 10 Apr 2012 21:11:03 +0200
Dave Abrahams <dave <at> boostpro.com> writes:

> It could indeed.  I'm not seeing slowdowns anymore, but I remember
> having domain name resolution issues around the time of this issue.

Right.  Hopefully Emacs 24.3 will have support for async name
resolution, too, so that Gnus will work more smoothly in the presence of
DNS problems.  The synchronous DNS stuff in url.el is the cause of
almost all hangs that I'm seeing now during casual reading.

Anyway, I'm closing this report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 May 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.