# `mix bam.bench`
[🔗](https://github.com/baoulo/bam-elixir/blob/v0.1.0/lib/mix/tasks/bam.bench.ex#L1)

Builds a synthetic BAM file and measures `BAM.stream/2` and `BAM.read/3`.

    mix bam.bench
    mix bam.bench --records 2000

The report includes fixture size, record count, OTP and Elixir versions,
the machine architecture, and the samtools version when that binary is
on `PATH`. Numbers come from the run. A missing samtools binary is
reported as not run.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
