|
From: | Ergus |
Subject: | Re: cc-mode fontification feels random |
Date: | Sat, 12 Jun 2021 13:07:59 +0200 |
On Fri, Jun 11, 2021 at 11:20:58PM -0400, Stefan Monnier wrote:
But any way just to start: tree-sitter parses all the text in xdisp.c, (in my machine), in 0.12 seconds from scratch and re-parses it (reusing the tree) 10 times faster; in 0.008 ~ 0.01 seconds.
or is it just the time for tree-sitter to do the actual parse for itself?
This one.
It was just a 5 minutes benchmark: https://github.com/Ergus/tree-sitter-benchmark
Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |