Skip to content

Conversation

@AngeloGiacco
Copy link
Owner

The mode_detection benchmark was just computing black_box(1 + 1) which provides no value. Replace with comprehensive benchmarks that test:

  • Detector::detect() full pipeline (~14µs)
  • Mode::from_str parsing (~17-20ns)
  • Mode helper methods (name, is_thorough, display)
  • Config parsing (full and minimal)
  • Config default/preset generation
  • Config validation

The mode_detection benchmark was just computing `black_box(1 + 1)` which
provides no value. Replace with comprehensive benchmarks that test:

- Detector::detect() full pipeline (~14µs)
- Mode::from_str parsing (~17-20ns)
- Mode helper methods (name, is_thorough, display)
- Config parsing (full and minimal)
- Config default/preset generation
- Config validation
@AngeloGiacco AngeloGiacco merged commit 5fe7321 into main Jan 11, 2026
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.

3 participants