Sébastien Miquel <sebastien.miq...@posteo.eu> writes: > AFAIU, the elisp profiler is useless in this case (fontification being > slow). At least my runs don't seem to report anything relevant.
You can try font-lock-profiler package (https://github.com/Lindydancer/font-lock-profiler) Best, Ihor