Once again positively surprised how well single-pass compilers synergize with modern branch predictors. The CPU time distribution in my single-pass compiler is roughly 40% lexing + 40% parsing and semantic analysis + 20% code generation (x86-64). The lexer is a conventional switch-based lexer and its hot paths are well optimized but don't use any crazy tricks: it processes input at ~0.75 GB/s on one thread. But 40% is enough that I thought I'd compare with a full AVX-512 SIMD lexer.