From: York Zhao <gtdplatform@gmail.com>
To: York Zhao <gtdplatform@gmail.com>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: still seeing semi-regular lockups
Date: Sun, 6 Jul 2014 21:43:02 -0400 [thread overview]
Message-ID: <CAD3zm23_K-xH7aCemRE-Y+1v9PfSRETnbqextbj-R_SpjmYNMg@mail.gmail.com> (raw)
In-Reply-To: <CAD3zm223DpK2XBbrc_s1Ob-TtUEwycwzBCOQB=AdVJBKBhoLJw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 6775 bytes --]
> > The exact same slowness problem happened just now. "M-x
org-element-cache-reset"
> > didn't have any effect. Nor did setting `org-element-use-cache' to nil.
Again,
> > killed the buffer and reopened didn't help.
> It looks like the problem isn't related to the cache then. Anyway, you
> could try to do some profiling (see `profiler-start').
>
> > One thing I didn't do, unfortunately, was that I reset cache only for
the buffer
> > where the slowness manifested. I think I should try reseting cache for
all the 8
> > buffers too right?
> Cache is buffer dependent, so you don't need to reset cache for all of
> them (though it's simply C-u M-x org-element-cache-reset).
This problem happened again just now. Again, M-x org-element-cache-reset
didn't
help, nor did C-u M-x org-element-cache-reset. And it seemed that only
typing
characters were slow, took 1 or 2 seconds for a typed character to appear
on the
screen.
Again, this happened in the big buffer that has 77,xxx lines, freshly
opened. I
restarted Emacs and finished `org-drill' session on 8 files before opening
this
big file.
I then `M-x profile-start', typed a few letters and `M-x profile-report',
here's
the memory report:
+ #<compiled 0x138b231> 11,320,032 43%
+ call-interactively 4,857,849 18%
+ #<compiled 0x1444275> 2,170,499 8%
+ timer-event-handler 1,428,527 5%
+ #<compiled 0xa6e561> 1,299,957 5%
+ helm 1,058,503 4%
+ redisplay_internal (C function) 869,652 3%
+ ac-handle-post-command 695,448 2%
+ helm-M-x 517,012 2%
+ helm-check-new-input 215,112 0%
+ #<compiled 0x1391c7d> 211,328 0%
+ helm-let-internal 182,580 0%
+ helm-read-pattern-maybe 109,907 0%
+ helm-process-filtered-candidate-transformer 97,992 0%
+ helm-get-cached-candidates 87,872 0%
+ cl-mapcar 82,880 0%
+ helm-update 81,536 0%
+ helm-funcall-with-source 72,380 0%
+ read-from-minibuffer 70,224 0%
+ funcall 69,721 0%
+ apply 34,618 0%
+ #<compiled 0xfe8ee9> 33,140 0%
+ helm--compute-sources 31,988 0%
+ yas--post-command-handler 29,288 0%
+ org-element--parse-to 29,184 0%
+ #<compiled 0xfe83ad> 12,520 0%
+ helm-compute-matches 12,400 0%
+ let 12,288 0%
+ byte-code 9,320 0%
+ ac-handle-pre-command 9,298 0%
+ profiler-report-rerender-calltree 8,188 0%
+ command-execute 8,188 0%
+ helm-check-minibuffer-input 8,152 0%
+ zfill-org-paragraph-boundary 7,240 0%
+ helm-internal 7,000 0%
+ sp--self-insert-command 6,060 0%
+ helm-comp-read 5,200 0%
+ let* 5,028 0%
+ catch 4,204 0%
+ hl-paren-highlight 4,144 0%
+ zfill-pre-command-function 4,096 0%
+ save-restriction 4,096 0%
+ while 4,096 0%
+ save-excursion 4,096 0%
+ helm-M-x-current-mode-map-alist 3,144 0%
+ helm-display-buffer 2,080 0%
+ profiler-report-setup-buffer 1,066 0%
+ profiler-report 1,054 0%
+ org-element--cache-before-change 1,024 0%
And CPU report:
+ ac-handle-post-command 2985 56%
+ timer-event-handler 1786 33%
+ redisplay_internal (C function) 131 2%
+ helm-M-x 121 2%
Automatic GC 60 1%
+ call-interactively 42 0%
+ #<compiled 0x138b231> 24 0%
+ #<compiled 0xa6e561> 24 0%
+ apply 23 0%
+ yas--table-all-keys 20 0%
+ helm-internal 12 0%
+ helm--compute-sources 12 0%
+ #<compiled 0xfe83ad> 10 0%
+ #<compiled 0x1444275> 8 0%
+ funcall 6 0%
+ #<compiled 0x1391c7d> 4 0%
+ helm-update 4 0%
+ helm-check-new-input 4 0%
+ helm 4 0%
+ helm-process-filtered-candidate-transformer 4 0%
+ helm-get-candidates 3 0%
+ helm-let-internal 3 0%
So I suspected the `auto-complete'. I tried M-x auto-complete to turn it off
which worked, the typing was fast again. M-x auto-complete to turn it back
on
and typing became extremely slow again.
Hope this will help a tiny bit.
York
[-- Attachment #2: Type: text/html, Size: 10541 bytes --]
next prev parent reply other threads:[~2014-07-07 1:43 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 8:39 still seeing semi-regular lockups Eric Abrahamsen
2014-05-15 9:21 ` Bastien
2014-05-15 9:30 ` Daimrod
2014-05-15 9:46 ` Bastien
2014-05-15 10:31 ` Eric Abrahamsen
2014-05-15 10:37 ` Daimrod
2014-05-15 10:43 ` Eric Abrahamsen
2014-05-19 14:21 ` Daimrod
2014-05-20 8:25 ` Eric Abrahamsen
2014-05-20 8:55 ` Daimrod
2014-05-20 11:16 ` Eric Abrahamsen
2014-06-24 8:48 ` Nicolas Goaziou
2014-06-24 14:28 ` Eric Abrahamsen
2014-06-25 4:09 ` Matt Lundin
2014-06-25 5:39 ` Matt Lundin
2014-06-25 7:32 ` Sebastien Vauban
2014-06-27 13:00 ` Nicolas Goaziou
2014-06-25 7:38 ` Daimrod
2014-06-25 8:22 ` Eric Abrahamsen
2014-06-25 8:30 ` Bastien
2014-06-25 8:40 ` Eric Abrahamsen
2014-06-25 13:47 ` Matt Lundin
2014-06-26 2:58 ` Matt Lundin
2014-06-26 3:00 ` Matt Lundin
2014-06-27 12:56 ` Nicolas Goaziou
2014-06-27 13:37 ` Alan Schmitt
2014-06-27 22:31 ` Nicolas Goaziou
2014-06-28 19:27 ` Eric Abrahamsen
2014-06-29 1:39 ` York Zhao
2014-06-29 2:23 ` Eric Abrahamsen
2014-06-30 1:15 ` York Zhao
2014-06-30 1:43 ` York Zhao
2014-06-30 20:20 ` Alan Schmitt
2014-07-01 0:43 ` York Zhao
2014-07-01 7:38 ` Nicolas Goaziou
2014-07-01 17:14 ` York Zhao
2014-07-01 21:15 ` York Zhao
2014-07-02 8:01 ` Nicolas Goaziou
2014-07-03 1:03 ` York Zhao
2014-07-06 7:28 ` Nicolas Goaziou
2014-07-06 14:40 ` York Zhao
2014-07-06 21:05 ` York Zhao
2014-07-06 21:31 ` Nicolas Goaziou
2014-07-07 0:16 ` York Zhao
2014-07-07 5:27 ` Nicolas Goaziou
2014-07-25 14:33 ` Sebastien Vauban
2014-07-07 1:43 ` York Zhao [this message]
2014-07-07 5:33 ` Nicolas Goaziou
2014-07-07 15:10 ` York Zhao
2014-07-03 15:31 ` York Zhao
2014-07-03 15:55 ` York Zhao
2014-07-06 7:19 ` Nicolas Goaziou
2014-07-06 14:29 ` York Zhao
2014-07-15 2:30 ` York Zhao
2014-07-19 3:17 ` Matt Lundin
2014-07-19 14:12 ` York Zhao
2014-06-29 13:58 ` Nicolas Goaziou
2014-05-29 3:01 ` Daimrod
2014-05-30 9:17 ` Nicolas Goaziou
2014-05-30 14:35 ` Daimrod
2014-06-11 11:53 ` Daimrod
2014-06-11 21:30 ` Nicolas Goaziou
2014-06-11 22:18 ` Daimrod
2014-06-14 7:43 ` Nicolas Goaziou
2014-06-14 23:55 ` Daimrod
2014-06-22 7:58 ` Nicolas Goaziou
2014-06-04 4:47 ` Eric Abrahamsen
2014-06-05 4:29 ` Daimrod
-- strict thread matches above, loose matches on Subject: below --
2014-05-14 11:06 dieter
2014-05-15 2:29 ` Eric Abrahamsen
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD3zm23_K-xH7aCemRE-Y+1v9PfSRETnbqextbj-R_SpjmYNMg@mail.gmail.com \
--to=gtdplatform@gmail.com \
--cc=emacs-orgmode@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/org-mode.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).