Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [profiler]

The tag has no usage guidance.

1
vote
1answer
32 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 ...
2
votes
0answers
49 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-...
2
votes
0answers
468 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 ...
1
vote
0answers
22 views

Value of `#$` when loading elisp files [duplicate]

What is the value of #$ when loading a file? package.el generates files like: ;;; anzu-autoloads.el --- automatically extracted autoloads ;; ;;; Code: (add-to-list 'load-path (directory-file-...
6
votes
4answers
1k views

Speed up Emacs start-up time

I have seen this thread but my problem is an order of magnitude larger. Also, a newbie, I did not understand much of what was being discussed there. So, this new question. I am running Emacs 25.2.2 ...
0
votes
0answers
55 views

Performance issue of c-mode

When I'm pressing C-p/n moving the cursor around, the redisplaying is quite lagging. A profile of CPU give + command-execute 527 59% - ...
1
vote
0answers
81 views

Emacs really laggy on prog-mode

I noticed Emacs was really laggy on any mode derived from prog-mode two days ago. Before that, everything was fine. I can navigate on a 1000+ lines org-mode file without problem, but I can't even type ...
5
votes
1answer
595 views

How to better debug Emacs CPU management?

I can't remember since when exactly, but Emacs is getting slow with basic operations (moving cursor around). It's not exactly slow, but feeling laggy. Before I try and halven my configuration files ...
4
votes
1answer
121 views

`profiler-report` output is truncated horizontally?

I'm having some performance problems with the latest version of magit, which I'm trying to profile to find the reason. I'm doing the following: M-x profiler-start M-x magit-status M-x profiler-report ...
3
votes
0answers
119 views

Profiling org-mode init file

My initialization file is organized in org-mode with src snippets. Is there a way I can profile it to see which snippets take the most time to evaluate? When my initialization file was in Elisp, I was ...
0
votes
0answers
132 views

How to produce agenda views from buffers in memory

I've noticed that since my org files have been moved to a network share agenda views take an age (1 minute or more) to produce. This is particularly annoying because I am working on a new view and I ...
1
vote
1answer
123 views

Diagnose laggy typing in csharp-mode

At the weekend I wiped my dotfiles and replaced them with prelude. I do most of my work in C#, so I've got csharp-mode installed. Typing in c# is laggy, in a painful bursty way. A few words come out ...
4
votes
0answers
94 views

Make profiler report columns wider

I am debugging a very deep call stack. Unfortunately profiler reports (produced with M-x profiler-report) have a fixed width that obscures critical information when the stack gets deep. Is there any ...
9
votes
2answers
512 views

Profile a command by wall time

The profiler-start command has options for cpu, mem, and cpu+mem. Is there a way to profile a command by elapsed time?
11
votes
2answers
564 views

How do I speed up org-mode agenda generation

It takes several seconds for Emacs org-mode to generate my agenda. How can I make it faster? I'm already using archive files, and I have less than 30 .org files, all of them reasonably short. Partial ...