View Source mix evision.backend.bench (Evision v1.0.0-rc.0)
Benchmarks representative Evision.Backend Nx operations.
mix evision.backend.bench
mix evision.backend.bench --profile smoke --output /tmp/evision-backend.json
mix evision.backend.bench --only conv,reduce --iterations 10 --warmup 3
ENABLE_TORCHX_FOR_BENCHMARKING=true mix evision.backend.bench --profile smokeOptions:
--output- JSON output path. Defaults tobenchmarks/evision_backend/latest.json.--profile- one ofsmoke,default, orfull. Defaults todefault.--warmup- warmup iterations per case.--iterations- measured iterations per case.--only- comma-separated case names or categories to run.--list- print available benchmark cases and exit.--no-verify- skip the correctness check before measuring.
Timings include output materialization to keep the measured work eager and comparable.
Set ENABLE_TORCHX_FOR_BENCHMARKING=true to include Torchx.Backend timings.