unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Chen Bin <chenbin.sh@gmail.com>
Cc: 55729@debbugs.gnu.org
Subject: bug#55729: 27.1; Emacs 28.1 `string-match' is five times slower than Emacs 27.1
Date: Mon, 30 May 2022 23:01:07 +0800	[thread overview]
Message-ID: <87zgizysi4.fsf@localhost> (raw)
In-Reply-To: <874k17cc4i.fsf@gmail.com>

Chen Bin <chenbin.sh@gmail.com> writes:

> Run below code in both Emacs 28.1 and Emacs 27.1
>
> ;; Run "base64 /dev/urandom | head -c 3000000000 > 3g.txt" to create 3g.txt
> ;; Then run below code in Emacs,
>
> Using same machine, same emacs setup, 28 is alwasy much slower than 27.

On my system:

Emacs-27          (0.032783519 0 0.0) vs (0.093436952 0 0.0)
Emacs-28 (latest) (0.037079772999999996 0 0.0) vs (0.162106006 0 0.0)
Emacs-29 (latest) (0.03358834 0 0.0) vs (0.15387368299999998 0 0.0)

Best,
Ihor





  reply	other threads:[~2022-05-30 15:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30 14:45 bug#55729: 27.1; Emacs 28.1 `string-match' is five times slower than Emacs 27.1 Chen Bin
2022-05-30 15:01 ` Ihor Radchenko [this message]
2022-05-30 15:09 ` Lars Ingebrigtsen
2022-05-30 15:10   ` Lars Ingebrigtsen
2022-05-30 15:58   ` Eli Zaretskii
2022-05-30 16:03     ` Eli Zaretskii
2022-05-31  1:04 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-31  2:25   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zgizysi4.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=55729@debbugs.gnu.org \
    --cc=chenbin.sh@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).