Skip to content

feat: add criterion benchmarks for parser pipeline#29

Open
NTBBloodbath wants to merge 1 commit into
push-mzvuxpkyxknmfrom
push-pmqlnkrxwkpv
Open

feat: add criterion benchmarks for parser pipeline#29
NTBBloodbath wants to merge 1 commit into
push-mzvuxpkyxknmfrom
push-pmqlnkrxwkpv

Conversation

@NTBBloodbath

Copy link
Copy Markdown
Member

Add per-stage benchmarks (stage_1-4) and end-to-end benchmarks (parse_tree, parse_flat) with small/medium/large Norg fixtures.

  • criterion 0.8.2 with html_reports feature
  • LTO bench profile for consistent timings
  • Expose stage_4 as pub for bench access
  • Move test.norg to benches/inputs/medium.norg (based on one of my blog posts with norgolith - https://amartin.beer/posts/norg-on-the-web/)
  • Add bench comparison workflow docs to CONTRIBUTING.md

Stacked on top of #28

Add per-stage benchmarks (stage_1-4) and end-to-end benchmarks
(parse_tree, parse_flat) with small/medium/large Norg fixtures.

- criterion 0.8.2 with html_reports feature
- LTO bench profile for consistent timings
- Expose stage_4 as pub for bench access
- Move test.norg to benches/inputs/medium.norg (based on one of my blog
  posts with norgolith - https://amartin.beer/posts/norg-on-the-web/)
- Add bench comparison workflow docs to CONTRIBUTING.md
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