From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40964 Path: main.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: Re: Checking new mail very slow with current CVS Date: Tue, 25 Dec 2001 14:07:04 -0800 Organization: The Eyrie Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035176438 3717 80.91.224.250 (21 Oct 2002 05:00:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:00:38 +0000 (UTC) Return-Path: Original-Received: (qmail 1984 invoked from network); 25 Dec 2001 22:12:09 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 25 Dec 2001 22:12:08 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Izjc-00041P-00; Tue, 25 Dec 2001 16:07:44 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Dec 2001 16:07:35 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA10605 for ; Tue, 25 Dec 2001 16:07:23 -0600 (CST) Original-Received: (qmail 1893 invoked by alias); 25 Dec 2001 22:07:16 -0000 Original-Received: (qmail 1888 invoked from network); 25 Dec 2001 22:07:16 -0000 Original-Received: from windlord.stanford.edu (171.64.13.23) by gnus.org with SMTP; 25 Dec 2001 22:07:16 -0000 Original-Received: (qmail 20493 invoked by uid 50); 25 Dec 2001 22:07:04 -0000 Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Tue, 25 Dec 2001 14:36:38 +0100") Original-Lines: 112 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.1 (Channel Islands, sparc-sun-solaris2.6) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40964 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40964 Simon Josefsson writes: > Russ Allbery writes: >> Does anyone have any ideas? > M-x elp-instrument-package RET gnus RET (try `mail' and `nn' as well) > and post the M-x elp-results RET. You make this sound so easy. :) After fighting with this for about twenty minutes, I finally managed to load all of the portions of Gnus it wanted loaded and then kept doing elp-instrument-package over and over until it stopped complaining about invalid arguments. It then broke most of Gnus's keymaps as near as I could tell, but I still managed to check new mail and save the results. If elp-instrument-package is supposed to actually work more smoothly than that, one of the Gnus developers may want to try it and make whatever changes to Gnus are necessary to make it work better, because right now it's a complete mess. Anyway, here are the results. I'll try to get this working with nnml as well, but no guarantees given all the trouble I had getting this. Function Name Call Count Elapsed Time Average Time ====================================== ========== ============ ============ gnus-group-get-new-news 1 5.8076979999 5.8076979999 gnus-get-unread-articles 1 3.6845229999 3.6845229999 gnus-read-active-file 1 1.7725740000 1.7725740000 gnus-read-active-file-1 4 1.7713559999 0.4428389999 gnus-read-active-file-2 1 1.3952470000 1.3952470000 gnus-activate-group 231 1.3869699999 0.0060041991 gnus-retrieve-groups 1 1.3493820000 1.3493820000 gnus-group-list-groups 1 0.3495850000 0.3495850000 gnus-group-prepare-flat 1 0.3431689999 0.3431689999 gnus-group-insert-group-line 32 0.3019759999 0.0094367499 gnus-server-opened 237 0.2143719999 0.0009045232 gnus-server-extend-method 458 0.1936130000 0.0004227358 gnus-range-length 224 0.1873809999 0.0008365223 gnus-uncompress-range 224 0.1754580000 0.0007832946 gnus-active-to-gnus-format 4 0.1065650000 0.0266412500 gnuserv-kill-buffer-query-function 686 0.0789320000 0.0001150612 gnuserv-kill-buffer-function 686 0.0602279999 8.779...e-05 gnus-run-hooks 37 0.0520300000 0.0014062162 gnus-group-highlight-line 32 0.0495860000 0.0015495625 gnus-request-scan 3 0.0464609999 0.0154869999 gnus-request-list 3 0.0454999999 0.0151666666 gnus-check-backend-function 480 0.0414509999 8.635...e-05 gnuserv-buffer-p 686 0.0397180000 5.789...e-05 gnus-server-to-method 332 0.0292130000 8.799...e-05 gnus-point-at-eol 1199 0.0199929999 1.667...e-05 gnus-get-function 472 0.0186919999 3.960...e-05 gnus-add-text-properties 32 0.0186399999 0.0005824999 gnus-xmas-add-text-properties 32 0.0169740000 0.0005304375 gnus-put-text-property-excluding-characters-with-faces 32 0.0166280000 0.0005196250 gnuserv-buffer-clients 686 0.0165809999 2.417...e-05 gnus-put-text-property 64 0.0165439999 0.0002584999 gnus-server-get-method 477 0.0135709999 2.845...e-05 gnus-xmas-put-text-property 64 0.0129499999 0.0002023437 gnus-group-prepare-logic 480 0.0099389999 2.070...e-05 gnus-message 16 0.0084930000 0.0005308125 gnus-group-timestamp-delta 32 0.0065569999 0.0002049062 gnus-correct-length 64 0.0061730000 9.645...e-05 gnus-check-server 6 0.0050119999 0.0008353333 gnus-server-status 237 0.0048550000 2.048...e-05 gnus-update-format-specifications 1 0.0044170000 0.0044170000 gnus-group-group-name 33 0.0042439999 0.0001286060 gnus-group-get-parameter 32 0.0041570000 0.0001299062 gnus-byte-compile 1 0.0039120000 0.0039120000 gnus-parse-format 2 0.0036509999 0.0018254999 gnus-server-add-address 102 0.0036179999 3.547...e-05 gnus-extent-start-open 32 0.0033649999 0.0001051562 gnus-parse-complex-format 1 0.0026950000 0.0026950000 gnus-complex-form-to-spec 2 0.0025489999 0.0012744999 gnus-parse-simple-format 4 0.0024790000 0.0006197500 gnus-group-parameter-value 33 0.0020860000 6.321...e-05 gnus-xmas-extent-start-open 32 0.0018090000 5.653...e-05 gnus-char-width 74 0.0017540000 2.370...e-05 gnus-group-name-charset 32 0.0017379999 5.431...e-05 gnus-group-prefixed-name 5 0.0016019999 0.0003203999 gnus-group-name-decode 64 0.0013710000 2.142...e-05 gnus-open-server 2 0.0010649999 0.0005324999 gnus-server-equal 11 0.0006599999 5.999...e-05 gnus-group-set-mode-line 2 0.0006039999 0.0003019999 gnus-find-method-for-group 10 0.0005909999 5.909...e-05 gnus-group-remove-excess-properties 32 0.0005199999 1.624...e-05 gnus-point-at-bol 34 0.0005029999 1.479...e-05 gnus-master-read-slave-newsrc 1 0.0003789999 0.0003789999 gnus-continuum-version 1 0.0003570000 0.0003570000 gnus-group-position-point 1 0.0002900000 0.0002900000 gnus-methods-using 5 0.0002560000 5.120...e-05 gnus-mode-line-buffer-identification 2 0.0002450000 0.0001225000 gnus-goto-colon 1 0.0002369999 0.0002369999 gnus-buffer-live-p 11 0.0002359999 2.145...e-05 gnus-set-work-buffer 5 0.0002290000 4.580...e-05 gnus-make-directory 2 0.0001980000 9.900...e-05 gnus-update-read-articles 2 0.0001589999 7.949...e-05 gnus-xmas-mode-line-buffer-identification 2 0.0001370000 6.850...e-05 gnus-parse-active 1 0.0001080000 0.0001080000 gnus-group-setup-buffer 1 7.800...e-05 7.800...e-05 gnus-display-time-event-handler 1 7.600...e-05 7.600...e-05 gnus-correct-pad-form 2 6.599...e-05 3.299...e-05 gnus-group-default-level 2 4.500...e-05 2.250...e-05 gnus-undo-boundary 2 3.699...e-05 1.849...e-05 gnus-mouse-face-function 1 2.599...e-05 2.599...e-05 gnus-get-buffer-create 1 2.300...e-05 2.300...e-05 gnus-boundp 1 2.200...e-05 2.200...e-05 gnus-archive-server-wanted-p 1 1.799...e-05 1.799...e-05 gnus-add-buffer 1 1.699...e-05 1.699...e-05 -- Russ Allbery (rra@stanford.edu)