pdftract/crates/pdftract-cli/tests
jedarden fac7ceec2f feat(bf-5b8mk): implement raw timing metrics extraction from benchmark output
Add comprehensive metric extraction logic for benchmark output parsing:

- Add RawTimingMetrics struct with fields for wall time, CPU time, file counts, and throughput
- Implement extract_raw_timing_metrics() to parse stdout/stderr for timing information
- Add extract_time_value() helper to parse CPU time from text formats
- Update run_benchmark() to use extraction logic instead of simple parsing
- Calculate throughput metrics (files/sec, MB/s) from extracted data

Closes bf-5b8mk. Verification: notes/bf-5b8mk.md, commit $(git rev-parse --short HEAD).
2026-07-06 16:40:55 -04:00
..
fixtures fix(pdftract-63ka2): AES-128 test buffer allocation for PKCS#7 padding 2026-05-28 01:30:33 -04:00
comparison_mode_test.rs fix(pdftract-63ka2): AES-128 test buffer allocation for PKCS#7 padding 2026-05-28 01:30:33 -04:00
conformance.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
forms_integration.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
mcp-cli-args.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
mcp-http.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
mcp-stdio.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
mcp-tools-integration.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
multi_output_validation.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
root-path-protection.rs feat(pdftract-3s2i): implement Phase 5.5.2 validation filter 2026-05-24 04:57:17 -04:00
test_book_chapter.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_contract.rs feat(pdftract-dtpwa): implement contract profile per Phase 7.10 schema 2026-05-24 07:10:32 -04:00
test_encryption_errors.rs test(bf-1or48): verify encryption test modules and fixtures 2026-07-06 12:48:29 -04:00
test_encryption_unsupported.rs test(bf-3x4rp): add missing Stdio import to encryption test files 2026-07-06 12:27:52 -04:00
test_form.rs feat(pdftract-3h9xo): implement threads JSON output + schema integration 2026-05-25 13:40:15 -04:00
test_hash_exit_codes.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_header_flag.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_legal_filing.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_scientific_paper.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
test_slide_deck.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
TH-02-path-traversal.rs test(pdftract-4h06h): implement TH-02 path traversal security test 2026-05-25 13:03:45 -04:00
TH-05-ssrf-block.rs feat(bf-5b8mk): implement raw timing metrics extraction from benchmark output 2026-07-06 16:40:55 -04:00
TH-08-log-audit.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00
TH-09-inspector-xss.rs test(bf-3f9q8): add SSRF URL test cases and assertions 2026-07-06 12:09:31 -04:00