Skip to content

perf: add reproducible font startup profiler - #317

Open
Happypig375 wants to merge 2 commits into
masterfrom
issue-293-font-startup-benchmark
Open

perf: add reproducible font startup profiler#317
Happypig375 wants to merge 2 commits into
masterfrom
issue-293-font-startup-benchmark

Conversation

@Happypig375

Copy link
Copy Markdown
Collaborator

Closes #293

Summary

  • add a reproducible, process-isolated font startup profiler without changing normal BenchmarkDotNet dispatch
  • record first-use wall time, managed allocations/retention, GC counts, SFNT inventory, packaging sizes, exercised paths, and schema-versioned JSON evidence
  • exercise Latin Modern, AMS, Cyrillic, and a runtime-loaded Comic Neue face, including a global four-face switching batch with cmap-proven representative corpora
  • add a threshold-free CI smoke and documentation for repeatable local/CI comparisons

Validation

  • Release benchmark project build: 0 warnings, 0 errors
  • --font-profile-smoke: 10 samples, 0 report errors
  • exact four-face order/corpora, cmap glyph IDs, LocalTypeface, and successful draws verified
  • invalid-worker/error propagation and custom font stream lifetime verified
  • independent validation and review: approved

@Happypig375 Happypig375 added Type/Housekeeping Repository, build, dependency, or internal maintenance. Area/Rendering Typesetting, measurement, fonts, text layout, and drawing. labels Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area/Rendering Typesetting, measurement, fonts, text layout, and drawing. Type/Housekeeping Repository, build, dependency, or internal maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Benchmark math-font startup allocations and retained memory

1 participant