On Mon, Sep 26, 2022 at 6:41 AM Ihor Radchenko <yanta...@gmail.com> wrote: > Thanks for reporting! > May you > 1. M-x profiler-start <RET> cpu <RET> > 2. Move/paste/edit your source block > 3. M-x profiler-report <RET> > 4. M-x profiler-report-write-profile and share the resulting file here
Apparently I'm not able to get the profiler report written. However, I discovered that, for instance, when I'm editing a piece of code with regexp Emacs seems to suffer, at least it is the only chances I had today to get it slower. The messages buffer does not help very much: CPU and memory profiler started End of ‘m/ ... /’ string/RE not found: (scan-error Unbalanced parentheses 74 82) Auto-saving...done CPU and memory profiler stopped profiler-write-profile: Wrong type argument: arrayp, nil As you can see, I cannot save the profiler report, neither by placing a filename, nor leaving it to save in the current directory of the file I'm editing. Oh, I also tried to disable flyspell, but it seems to me it gets re-enabled for the source code block I'm within (but it's just a feeling). Any idea? Luca