Skip to content

Add benchmark tool with metrics collection#12

Merged
lovebaihezi merged 2 commits intomainfrom
benchmark-tool-4412477974816408393
Jan 27, 2026
Merged

Add benchmark tool with metrics collection#12
lovebaihezi merged 2 commits intomainfrom
benchmark-tool-4412477974816408393

Conversation

@lovebaihezi
Copy link
Copy Markdown
Collaborator

  • Added src/bench.zig: A standalone benchmark runner that generates a large in-memory workload and parses it.
  • Metrics collected: User Time, System Time, Context Switches, Max RSS, and CPU Cache Misses (Linux only).
  • Updated build.zig: Added bench executable and zig build bench step.
  • Workload simplified to Titles and Paragraphs to avoid known parser bugs with inline styles and lists.

google-labs-jules bot and others added 2 commits January 27, 2026 02:47
- Added `src/bench.zig`: A standalone benchmark runner that generates a large in-memory workload and parses it.
- Metrics collected: User Time, System Time, Context Switches, Max RSS, and CPU Cache Misses (Linux only).
- Updated `build.zig`: Added `bench` executable and `zig build bench` step.
- Workload simplified to Titles and Paragraphs to avoid known parser bugs with inline styles and lists.

Co-authored-by: lovebaihezi <55340837+lovebaihezi@users.noreply.github.com>
@lovebaihezi lovebaihezi merged commit 71e194c into main Jan 27, 2026
3 checks passed
@lovebaihezi lovebaihezi deleted the benchmark-tool-4412477974816408393 branch January 27, 2026 06:17
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