# BPE Tokenizer Benchmark
Loads a HuggingFace `tokenizer.json` and measures encode throughput.
Defaults to `./tokenizer.json` (Qwen2.5 shipped in repo root).
## Run
```bash
cargo run --release --example bench_bpe [-- /path/to/tokenizer.json]
```
## Source
```rust,ignore
{{#include ../../../examples/bench_bpe.rs}}
```