Questions tagged [profiler]
The profiler tag has no summary.
27 questions
0 votes
0 answers
68 views
Emacs intermittently experiences slowdowns
For the last couple of weeks, emacs in my machine have become intermittently slow. It works fine, then suddenly (I have yet to find any triggering keystroke) it slows down for about fifteen seconds. ...
0 votes
1 answer
37 views
Helm-bookmark suddenly slow (profiler report attached)
Recently I must wait ~10 seconds for helm-bookmarks to appear. Does somebody discover anything helpful in the cpu profiler report? 456 80% - command-execute 228 40% - call-interactively ...
1 vote
0 answers
134 views
How to Troubleshoot Emacs?
These two questions 1 2 provide some tools to profile and debug emacs. But it doesn't explain exactly how to use those tools to figure out a problem with emacs. Once you have the profiling reports, ...
0 votes
1 answer
60 views
Emacs freezes - Profiler shows three dots
Recently emacs freezes for multiple seconds, while process emacs --daemon -f exwm enable CPU usage goes up to 100%. I tried --debug-init instead of --daemon but still remain in the dark about the ...
1 vote
1 answer
95 views
Profiler/Benchmark Macro Like the `Time` in Common Lisp
To profile Elisp code, I tried benchmark.el and some profiler--prefixed built-in functions. But all their reports are either non-human-readable or inadequate. I think the ideal outcome is like what ...
1 vote
1 answer
424 views
Identifying functions that trigger timers and cause redisplays when profiling Emacs execution
I'm experiencing serious performance degradation whenever I'm in dart-mode and LSP is enabled. This is a strange one because Emacs I don't experience any performance degradation on a fresh instance ...
3 votes
1 answer
1k views
Emacs is slow, intermittently hangs, freezes when I "come back to it", profiler says `savehist`
When I use Emacs it seems fine mostly, but since recently every couple of minutes it becomes extremely slow for a while. When I change focus to another app, and come back after a while, it is ...
5 votes
1 answer
122 views
Is there an efficient way to tell which parts of my startup of Emacs take the longest to load?
I have been trying to make the start-up times better. Almost all of my init.el is broken into use-package declarations like this: (use-package x ...) (use-package y ...) (use-package z ...) I want to ...
1 vote
2 answers
647 views
Slow markdown-mode as Emacs spends lots of time fontifying
Emacs on my Mac got upgraded when I upgraded some other package in Homebrew and now working with Markdown files is very slow. I'm now running the railwaycat/emacsmacport/emacs-mac package version with ...
0 votes
1 answer
86 views
The call stack result of profile-report doesn't match the real function codes
I'm trying to figure out why my emacs was slow tonight and found: - command-execute 82796 87% - call-interactively ...
1 vote
0 answers
52 views
Memory Profiler reporting error upon profiler-report
After calling profiler-report after doing profiler-start and selecting mem I get the following error: maphash: Wrong type argument: number-or-marker-p, unbound Any Idea why?
3 votes
1 answer
101 views
Profiling simulated interactive editing
Is there a way to profile or time code that simulates interactive editing? The gist of what I want to do is that I have some code that runs during font-lock, and sometimes it makes editing sluggish. ...
4 votes
1 answer
323 views
profile-report doesn't show any report data
I used M-x profiler-start RET RET then after a few other operations I did M-x profiler-stop. Then M-x profiler-report. It doesn't show any profile data. I am using OSX. Where is profile data ...
3 votes
0 answers
259 views
profiler-report seems to be missing data
I'm trying to profile the usually excellent find-things-fast package to figure out why it's slow in my project. I started profiling with profiler-start, executed the command that's slow (ftf-find-...
4 votes
0 answers
3k views
Extremely slow startup on Windows - How to debug?
I have a serious problem with an extremely slow spacemacs startup (emacs-init-time = ~200s). (The server works, but this is so slow I cannot debug some other problems that I am trying to fix) My ...