* A slowness in the Agent
@ 2004-05-01 10:13 Lars Magne Ingebrigtsen
2004-05-01 15:52 ` Kevin Greiner
0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-05-01 10:13 UTC (permalink / raw)
I just cvs uppped a bit here, and Gnus suddenly was much slower than
before. After peeking around quite a bit, the most likely culprit is
`gnus-agent-read-agentview', which now calls
`gnus-uncompress-sequence' about 9K times for me. Which takes a
while.
I've inlined the call, which helps a bit, but I think the fundamental
problem might be that `gnus-agent-read-agentview' tries too hard.
The Emacs reader is really very fast, and almost any compression one
tries to do in Emacs Lisp is bound to be slower than just calling
`read' on a huge whopping list.
Or I may be poking around in the wrong place.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A slowness in the Agent
2004-05-01 10:13 A slowness in the Agent Lars Magne Ingebrigtsen
@ 2004-05-01 15:52 ` Kevin Greiner
2004-05-02 13:13 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Greiner @ 2004-05-01 15:52 UTC (permalink / raw)
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> I just cvs uppped a bit here, and Gnus suddenly was much slower than
> before. After peeking around quite a bit, the most likely culprit is
> `gnus-agent-read-agentview', which now calls
> `gnus-uncompress-sequence' about 9K times for me. Which takes a
> while.
>
> I've inlined the call, which helps a bit, but I think the fundamental
> problem might be that `gnus-agent-read-agentview' tries too hard.
> The Emacs reader is really very fast, and almost any compression one
> tries to do in Emacs Lisp is bound to be slower than just calling
> `read' on a huge whopping list.
>
> Or I may be poking around in the wrong place.
Well, that compression has been in use for over a year now so I don't
see why it would suddenly make gnus much slower. If you truely think
that it is an issue, reverting back to No Gnus 0.1 will give you a
version of gnus-agent-read-agentview that can be configured to turn
the compression off. Hmmm... I wonder if that is what you had done;
configured your gnus to disable the compression.
For the record, I didn't add the compression to save disk space but to
improve performance.
What bothers me is that your seeing 9K calls to
gnus-agent-read-agentview. That seems excessive unless you have 9K
groups.
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: A slowness in the Agent
2004-05-01 15:52 ` Kevin Greiner
@ 2004-05-02 13:13 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-05-02 13:13 UTC (permalink / raw)
Kevin Greiner <kgreiner@xpediantsolutions.com> writes:
> Well, that compression has been in use for over a year now so I don't
> see why it would suddenly make gnus much slower. If you truely think
> that it is an issue, reverting back to No Gnus 0.1 will give you a
> version of gnus-agent-read-agentview that can be configured to turn
> the compression off. Hmmm... I wonder if that is what you had done;
> configured your gnus to disable the compression.
Hm... I don't think so. But I could be wrong. :-) What would the
variable to disable the compression be?
> What bothers me is that your seeing 9K calls to
> gnus-agent-read-agentview. That seems excessive unless you have 9K
> groups.
9K calls to `gnus-uncompress-sequence'. Only 90 calls to
`gnus-agent-read-agentview'.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-02 13:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-01 10:13 A slowness in the Agent Lars Magne Ingebrigtsen
2004-05-01 15:52 ` Kevin Greiner
2004-05-02 13:13 ` Lars Magne Ingebrigtsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).