martine/ninja — comment on commit 8a0c96075786c1983bdfa2f37f32b75200ea0334
File: src/lexer.in.cc line 108
By nico:

I hadn't; we just very recently got to a point where we could measure perf at all. I did some measurements just now.

At head (bc3eb871320566f6a22e07e85c96e03e68f8918b), a warm-cache empty build of webcore_platform takes 0.48s. At the last revision before the re2c change (ad7d9f43f1bd8e04321d8fdb07ebf7b96ab525a1), it's 0.51s. So it's 5.8% faster – not bad.

(usual statistics yadda yadda: I ran the rebuild command multiple times, and the variance was close to at both revisions. This is with a ~2 year old MacBook Pro, no SSD.)