unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: 18522@debbugs.gnu.org
Subject: bug#18522: 24.4.50; mapcar is very slow
Date: Mon, 22 Sep 2014 12:37:11 +0200	[thread overview]
Message-ID: <8738bkdjqg.fsf@micropit.roche-blanche.homenet.org> (raw)

Hi,

ELP shows, that the mapcar function called from gnus-thread-latest-date
takes a lot of time (uptime of emacs is several days):

function                calls       total time [s]   time per call [s]
-----------------------------------------------------------------------
mapcar                  20250       5.3743043500      0.0002653977

After restarting emacs:

mapcar                  21468       0.1387124370      6.461...e-06

About 40 times faster now!!


Thanks in advance for any help or hints how to debug further,


Further details:

In GNU Emacs 24.4.50.1 (x86_64-suse-linux-gnu, GTK+ Version 3.10.9)
 of 2014-09-14 on micropit
Repository revision: 117880 michael.albinus@gmx.de-20140914090011-2k4yr2tapso2uoz6
Windowing system distributor `The X.Org Foundation', version 11.0.11403901
System Description:	openSUSE 13.1 (Bottle) (x86_64)

Configured using:
 `configure --without-toolkit-scroll-bars'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY LIBSELINUX LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB

Important settings:
  value of $LC_ALL: en_GB.utf8
  value of $LC_CTYPE: en_GB.utf8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  pm/keys-minor-mode: t
  savehist-mode: t
  show-paren-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t

Features:
(shadow emacsbug mule-util mm-archive gnus-dup org-colview elp misearch
multi-isearch mailalias bbdb-message vc-dispatcher vc-svn org-rmail
org-mhe org-irc org-info org-gnus org-docview org-bibtex bibtex org-bbdb
org-w3m sort smiley gnus-cite mail-extr gnus-async gnus-bcklg qp
gnus-salt gnus-ml disp-table bbdb-gnus bbdb-mua bbdb-com crm gnus-delay
gnus-draft nndraft nnmh nnml gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-cache gnus-demon nntp gnus-icalendar org-capture
gnus-art mm-uu mm-view mml-smime smime dig gnus-sum gnus-group gnus-undo
icalendar diary-lib diary-loaddefs json jl-encrypt epg mml2015
epg-config gnus-start gnus-cloud nnimap nnmail mail-source tls utf7
netrc nnoo parse-time gnus-spec gnus-int gnus-range message sendmail
dired rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader
gnus-win gnus gnus-ems gnus-compat url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util url-parse
auth-source eieio eieio-core password-cache url-vars mailcap nnheader
gnus-util mail-utils mm-util mail-prsvr wid-edit notifications dbus xml
wombat-theme savehist paren delsel server org-clock bbdb bbdb-site
timezone lua-mode edmacro kmacro rx org-notify org-element org byte-opt
bytecomp byte-compile cconv advice help-fns org-macro org-footnote
org-pcomplete pcomplete org-list org-faces org-entities noutline outline
easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob
ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs
slime-autoloads cl-macs bbdb-loaddefs tex-site auto-loads gnus-load cl
gv autoinsert compile comint ansi-color po-mode php-mode derived etags
ring cc-langs cl-loaddefs cl-lib cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar sb-image
ezimage dframe easymenu time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 344956 38663)
 (symbols 48 43128 62)
 (miscs 40 123 587)
 (strings 32 96718 17145)
 (string-bytes 1 3253927)
 (vectors 16 43741)
 (vector-slots 8 1564631 71072)
 (floats 8 335 1543)
 (intervals 56 2324 486)
 (buffers 976 21)
 (heap 1024 66555 4558))

-- 
        Peter





             reply	other threads:[~2014-09-22 10:37 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 10:37 Peter Münster [this message]
2014-09-22 10:43 ` bug#18522: further information Peter Münster
2014-09-22 12:49 ` bug#18522: 24.4.50; mapcar is very slow Stefan Monnier
2014-09-22 13:47   ` Peter Münster
2014-09-25 21:36     ` Peter Münster
2014-09-26  6:57       ` Eli Zaretskii
2014-09-26  7:15         ` Peter Münster
2014-09-26  7:36           ` Eli Zaretskii
2014-10-01 19:55             ` Peter Münster
2014-10-01 19:58             ` Glenn Morris
2014-10-01 20:25               ` Peter Münster
2015-02-13  8:26                 ` Lars Ingebrigtsen
2015-02-13 14:39                   ` Peter Münster
2015-02-14  4:19                     ` Lars Ingebrigtsen
2015-03-02 14:34                       ` Peter Münster
2015-07-20 12:52                         ` Peter Münster
2016-02-07  6:31                         ` Lars Ingebrigtsen
2016-02-17 16:00                           ` Peter Münster
2016-02-19  5:15                             ` Lars Ingebrigtsen
2016-02-19  8:27                               ` Peder O. Klingenberg
2016-02-19  8:38                               ` Eli Zaretskii
2016-02-19 10:06                                 ` Nicolas Richard
2016-02-19 10:12                                 ` Peder O. Klingenberg
2016-02-19 22:46                                 ` Lars Ingebrigtsen
2016-02-20  8:14                                   ` Eli Zaretskii
2016-02-20  8:33                                     ` Peter Münster
2016-02-20  9:51                                       ` Eli Zaretskii
2016-02-21 11:00                                         ` Peter Münster
2016-02-21 11:08                                           ` Andreas Schwab
2016-02-21 11:09                                           ` martin rudalics
2016-02-21 11:30                                             ` Peter Münster
2016-02-21 13:41                                               ` Michael Heerdegen
2016-02-21 14:02                                                 ` Peter Münster
2016-02-21 14:36                                               ` Peter Münster
2016-02-21 14:54                                                 ` Peter Münster
2016-02-21 16:14                                                   ` Eli Zaretskii
2016-02-21 18:03                                                     ` Peter Münster
2016-02-21 20:45                                                       ` Eli Zaretskii
2016-02-22  7:37                                                         ` Peter Münster
2016-02-22 16:22                                                           ` Eli Zaretskii
2016-02-22 20:41                                                             ` Peter Münster
2016-02-22 20:56                                                               ` Eli Zaretskii
2016-02-23 11:19                                                                 ` Peter Münster
2016-02-23 16:23                                                                   ` Eli Zaretskii
2016-02-23 16:35                                                                     ` Peter Münster
2016-02-23 16:48                                                                       ` Andreas Schwab
2016-02-24 10:22                                                                         ` Peter Münster
2016-02-23 17:47                                                                       ` Eli Zaretskii
2016-02-24 10:25                                                                         ` Peter Münster
2016-02-24 17:39                                                                           ` Eli Zaretskii
2016-02-24 18:00                                                                             ` Peter Münster
2016-02-24 18:23                                                                               ` Eli Zaretskii
2016-02-24 20:03                                                                                 ` Peter Münster
2016-02-24 20:26                                                                                   ` Eli Zaretskii
2016-02-25  8:06                                                                                     ` Peter Münster
2016-02-24 23:53                                                                                   ` Lars Ingebrigtsen
2016-02-25  8:08                                                                                     ` Peter Münster
2016-02-25 15:59                                                                                       ` Eli Zaretskii
2016-02-25 18:10                                                                                         ` Peter Münster
2016-02-25 18:25                                                                                           ` Eli Zaretskii
2016-02-26 11:05                                                                                             ` Peter Münster
2016-02-26 11:13                                                                                               ` Eli Zaretskii
2016-02-26 11:35                                                                                                 ` Peter Münster
2016-02-28  4:10                                                                                                   ` Lars Ingebrigtsen
2016-02-28  8:07                                                                                                     ` Peter Münster
2016-02-28 15:48                                                                                                       ` Eli Zaretskii
2016-02-29  2:21                                                                                                       ` Lars Ingebrigtsen
2016-02-29 10:33                                                                                                         ` bug#18522: killed buffers not GCed (was: bug#18522: 24.4.50; mapcar is very slow) Peter Münster
2016-02-28  5:12                                                                                                   ` bug#18522: 24.4.50; mapcar is very slow Lars Ingebrigtsen
2016-02-26  3:18                                                                                           ` Lars Ingebrigtsen
2016-02-26  3:13                                                                                         ` Lars Ingebrigtsen
2016-02-26  8:48                                                                                           ` Eli Zaretskii
2016-02-28  4:02                                                                                             ` Lars Ingebrigtsen
2016-02-26  9:28                                                                                           ` Eli Zaretskii
2016-02-28  4:04                                                                                             ` Lars Ingebrigtsen
2017-01-25 20:09                                                                                               ` Lars Ingebrigtsen
2017-01-25 20:39                                                                                                 ` Peter Münster
2016-02-24 10:15                                                                     ` martin rudalics
2016-02-24 17:42                                                                       ` Eli Zaretskii
2016-02-24 18:16                                                                         ` martin rudalics
2016-02-24 18:49                                                                           ` martin rudalics
2016-02-24 20:27                                                                             ` Eli Zaretskii
2016-02-25  8:07                                                                               ` Peter Münster
2016-02-25 10:06                                                                                 ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738bkdjqg.fsf@micropit.roche-blanche.homenet.org \
    --to=pmlists@free.fr \
    --cc=18522@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).