[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58558: 29.0.50; re-search-forward is slow in some buffers
From: |
Mattias Engdegård |
Subject: |
bug#58558: 29.0.50; re-search-forward is slow in some buffers |
Date: |
Mon, 10 Apr 2023 12:05:42 +0200 |
10 apr. 2023 kl. 11.57 skrev Ihor Radchenko <yantar92@posteo.net>:
> Generating agenda with Emacs master + your patch:
>
> :regexp-cache-hit: 6225399 :regexp-cache-miss: 109490
>
> Emacs 28.3 + your patch:
> :regexp-cache-hit: 4968571 :regexp-cache-miss: 79637
Those miss rates are similar (1.7 % and 1.5 %, respectively) although rather
higher than we'd like. Probably no serious regexp cache thrashing going on
then, but it was good to be able to exclude it, thank you for humouring me!
> Also, I tried to play around with increasing REGEXP_CACHE_SIZE in the
> past. It does not make noticeable difference in my setup.
Right, that's consistent with the data collected above.