Motivation
macOS (especially Apple Silicon M1/M2/M3) is widely used by developers, but currently there is no standardized way to benchmark Meridian performance on macOS.
This makes it hard to:
- Compare performance across Intel vs Apple Silicon
- Detect regressions specific to macOS
- Evaluate local agent / model execution latency and memory usage
A lightweight benchmark suite would greatly improve developer experience and reproducibility.
Proposal
Introduce a macOS-focused benchmark suite that can be run locally and in CI.
The benchmark suite could include:
- Startup time
- First-token latency
- Tokens/sec
- Peak memory usage
- CPU utilization
Benchmarks should run on:
- macOS Intel (
x86_64)
- macOS Apple Silicon (
arm64)
Possible Implementation
- Add a
benchmarks/macos/ directory
- Provide a simple CLI:
meridian benchmark --platform macos