GNU bug report logs - #47419
Misleading profiler info

Previous Next

Package: emacs;

Reported by: scame <laszlomail <at> protonmail.com>

Date: Fri, 26 Mar 2021 19:58:01 UTC

Severity: normal

Found in version 27.1

Full log


Message #13 received at 47419 <at> debbugs.gnu.org (full text, mbox):

From: scame <laszlomail <at> protonmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: "47419 <at> debbugs.gnu.org" <47419 <at> debbugs.gnu.org>
Subject: Re: bug#47419: 27.1; Misleading profiler info
Date: Sat, 27 Mar 2021 04:13:03 +0000
>
> You can speed it up significantly by tightening the regexp,
> e.g. replacing .+ with [\s\t]+. It's still not superfast because our
> regexp engine is not tuned for that kind of situation, but it's better.

Right, thanks. I would have tried tightening the regexp if the profiler had
told me that was the problem, but as you write it incorrectly attributed
the slowness to the save-exursion call which put me on the wrong track
thinking it was some internal emacs bug.





This bug report was last modified 4 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.