| Crates.io | brk_bencher |
| lib.rs | brk_bencher |
| version | 0.1.0-beta.0 |
| created_at | 2025-12-18 22:16:43.266562+00 |
| updated_at | 2026-01-25 13:22:09.916702+00 |
| description | A simple benchmarker for testing other crates. |
| homepage | https://bitcoinresearchkit.org |
| repository | https://github.com/bitcoinresearchkit/brk |
| max_upload_size | |
| id | 1993652 |
| size | 31,379 |
Resource monitoring for long-running Bitcoin indexing operations.
Track disk usage, memory consumption (current + peak), and I/O throughput during indexing runs. Progress tracking hooks into brk_logger to record processing milestones automatically.
let mut bencher = Bencher::from_cargo_env("brk_indexer", &data_path)?;
bencher.start()?;
// ... run indexing ...
bencher.stop()?;
benches/
└── brk_indexer/
└── 1703001234/
├── disk.csv # timestamp_ms, bytes
├── memory.csv # timestamp_ms, current, peak
├── io.csv # timestamp_ms, read, written
└── progress.csv # timestamp_ms, height
brk_error for error handlingbrk_logger for progress hook integration