GNU bug report logs - #77924
31.0.50; [Feature branch] Change marker implementation

Previous Next

Package: emacs;

Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Date: Sat, 19 Apr 2025 16:06:02 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: yantar92 <at> posteo.net, monnier <at> iro.umontreal.ca, 77924 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#77924: 31.0.50; [Feature branch] Change marker implementation
Date: Thu, 24 Apr 2025 10:30:45 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> I trust you and Stefan to decide on that.  I myself am not familiar
> with the elisp-benchmarks suite well enough to have an opinion that is
> of importance.  From where I stand, the important part is comparing
> the current master with the branch.
>
>> Don't know about the scrolling benchmark. Is what is in elisp-benchmarks
>> enough? If not, can you please give me a bencnhmark file for what you
>> want benchmarked?
>
> I don't know whether we have it in elisp-benchmarks, but if we don't,
> then the following should be good enough:
>
> (defun scroll-up-benchmark ()
>   (interactive)
>   (let ((oldgc gcs-done)
>         (oldtime (float-time)))
>     (condition-case nil (while t (scroll-up) (redisplay))
>       (error (message "GCs: %d Elapsed time: %f seconds"
>                       (- gcs-done oldgc) (- (float-time) oldtime))))))
>
> Evaluate this, then invoke "M-x scroll-up-benchmark" in a large buffer
> with lots of non-ASCII characters.  Compare the timings between the
> two versions of Emacs.

elb-scroll from elisp-bechmarks is basically

      (dotimes (_ 10)
        (elb-smie-mode)
        (goto-char (point-min))
        (condition-case nil
            (while t (scroll-up nil) (redisplay 'force))
          (end-of-buffer nil))))))

looks similar, but I don't know what elb-smie-mode does.

Seems to have something to do with prog-mode, so maybe this depends on
the test file being a C file, which might be interesting for Visuwesh.




This bug report was last modified 107 days ago.

Previous Next


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