Skip to main content

Mac LLM Benchmark Comparator

Compare llama-bench throughput, check which run settings changed, and copy the result for an issue.

Run A

Up to 2 MiB and 2,000 rows per file

Processed in your browser

How it works

Reading the comparison

  • Compare prompt processing (PP) with PP and token generation (TG) with TG. Combined tests report one throughput rate. Depth is the context filled before timing.
  • Individual samples_ts give the median and observed range. Summary-only output gives the reported mean and standard deviation. A percentage requires supported input and matching workloads, statistics, repeat counts, and controls outside the selected factor.
  • Ranges show spread. Statistical significance needs further analysis. Time to first token, latency, output quality, and memory need separate measurements.

Record comparable runs

  1. Choose a model that fits comfortably. Record its SHA-256, revision, and quantization, plus the llama.cpp build, active backend, chip and bin, unified memory, and macOS version.
  2. Vary one factor. Hold other settings fixed, including prompt and generation lengths, depth, GPU offload, flash attention, KV types, threads, batch, microbatch, and cache and power conditions.
  3. Use default priority and zero extra delay. For warm runs, exclude at least one warm-up. Record how you prepared the cache and capture at least five timed repeats per condition.
  4. Save the llama-bench JSON or JSONL with individual samples. For peak memory, use the same named metric and units.

Sources