How fast does twinkleplop tokenise HTML compared to the mainstream JavaScript syntax highlighters? Each chart below is one sample size; each bar is one library, sorted fastest to slowest. Numbers are operations per second (higher is better). Bar widths are relative to the fastest library in each chart.
Run pnpm bench in the packages/bench directory
to generate benchmark-results.json, then reload this page.