pdftract/crates/pdftract-cli
jedarden 0e92e23de6 feat(bf-54zad): implement benchmark timing and throughput measurement
- Add files_per_second field to BenchmarkResult struct
- Implement calculate_files_per_second() method
- Implement save_to_file() method for JSON baseline recording
- Update run_benchmark() to calculate files_per_second metric
- Update main() to display and save files_per_second

Acceptance criteria:
 Timing code measures wall-clock time accurately (Instant::now)
 Throughput (MB/s) calculated correctly (bytes_total / duration)
 Files per second calculated correctly (files_total / duration_sec)
 Commit hash extraction works (git rev-parse HEAD)
 Timestamp produces ISO 8601 (chrono::Utc::now().to_rfc3339)
 Ready to output metrics to JSON (save_to_file method)

See notes/bf-54zad.md for verification details.
2026-07-06 11:22:18 -04:00
..
benches feat(bf-54zad): implement benchmark timing and throughput measurement 2026-07-06 11:22:18 -04:00
examples fix(pdftract-39gey): fix indent trigger to not split drop-cap paragraphs 2026-06-07 13:43:19 -04:00
src test(bf-5cnj8): add comprehensive CLI module imports for encryption testing 2026-07-05 18:54:48 -04:00
tests test(bf-1h5og): add test utility and error handling imports 2026-07-05 19:01:12 -04:00
-.json feat(pdftract-4k1x4): complete Phase 4 Text Assembly and Layout 2026-06-08 09:09:37 -04:00
build.rs feat(pdftract-1t5sj): implement book_chapter profile with fixtures and tests 2026-05-27 22:30:09 -04:00
Cargo.toml test(bf-5cnj8): add comprehensive CLI module imports for encryption testing 2026-07-05 18:54:48 -04:00
header chore(pdftract-36glh): remove unused JpxDecoder import and add verification note 2026-05-28 05:23:13 -04:00
pdftract-cli.cdx.json feat(pdftract-67tm8): implement MCP stdio transport with integration tests 2026-05-23 00:16:42 -04:00