[emacs-w3m:13931] Fwd: m-x w3m startup slower in 27

Samuel Wales <[email protected]> Wed, 17 May 2023 22:40:44 -0700
Newsgroups gmane.emacs.w3m
Message-ID <CAJcAo8s-MUEn9zRPPS_gr8-U9weUw5Q3REwu1dS+GnHL2zZQxg@mail.gmail.com>
this seems like a possible bug?

---------- Forwarded message ----------
From: Samuel Wales <[email protected]>
Date: Sat, 13 May 2023 19:04:15 -0700
Subject: m-x w3m startup slower in 27
To: help-gnu-emacs <[email protected]>

moseying into 27 from 26 as my luddite practices have it, i find that
the first invocation of emacs-w3m's w3m command takes 8s or so which
is slower.  subsequent invocation is fast.  any clues?  why the
mailcap?


 - command-execute                                                1985  93%
 - autoload-do-load                                              1917  90%
  - defvar                                                       1895  89%
   - byte-code                                                   1894  89%
    - mailcap-mime-info                                          1885  88%
     - mailcap-parse-mailcaps                                    1851  87%
      - mailcap-parse-mailcap                                    1564  73%
       + mailcap-mailcap-entry-passes-test                        621  29%
         mailcap-replace-regexp                                   188   8%
       + mailcap-parse-mailcap-extras                             104   4%
         mailcap-add-mailcap-entry                                 71   3%
       + insert-file-contents                                       7   0%
         #<compiled 0x156271950955>                                 3   0%
       mailcap-possible-viewers                                    11   0%
     + mail-header-parse-content-type                              10   0%
       mailcap-viewer-passes-test                                   3   0%
     + seq-find                                                     1   0%
      regexp-opt                                                    1   0%
  + byte-code                                                      17   0%
 + call-interactively                                              68   3%
+ ...                                                             136   6%
+ w3m-check-current-position                                        1   0%
+ timer-event-handler                                               1   0%


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com



-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com