Skip to content

Refresh the README benchmark highlights after render-time text escaping - #365

Closed
maragubot wants to merge 1 commit into
lazy-text-escapingfrom
readme-benchmark-highlights
Closed

maragubot wants to merge 1 commit into
lazy-text-escapingfrom
readme-benchmark-highlights

Conversation

@maragubot

Copy link
Copy Markdown
Collaborator
  • Re-measures the highlights table in the README FAQ on top of Escape Text and Textf at render time #357, same machine and settings as before: Apple M4, constructing and rendering to io.Discard, median of five runs.

The rows that #357 changes are the realistic full page, which drops from 3044 to 2858 allocations and from 129686 to about 126 KB per render, and Text and Textf, which stay at the same allocations since short clean text never escaped. The other rows moved by a nanosecond or two between runs, which is machine noise, and are updated so the whole table comes from one run.

Based on #357 so the diff is only the README; it retargets to main when that merges.

@maragubot

Copy link
Copy Markdown
Collaborator Author

Folded into #357 instead.

@maragubot maragubot closed this Sep 24, 2026
@maragubot
maragubot deleted the readme-benchmark-highlights branch September 24, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant