Doctor
bash
asb doctor
asb doctor --mode wasmtimeasb doctor is a preflight check — it validates your environment before you spend time on a run, and reports each check as a pass/fail line.
It validates:
- Config — that
as-bench.config.json(or--config) loads and parses, and that the selected--modeexists. - Dependencies — Node and the AssemblyScript compiler / dev dependencies are present.
- Input — the
inputglobs actually match bench files. - Runtimes — the selected runtime command(s) are resolvable and runnable.
text
as-bench doctor
config: /path/to/as-bench.config.json
mode: default
OK Config loaded
as-bench.config.json
OK Benchmark files found
OK Runtime: nodeRun it after asb init, when switching runtimes, or when a run fails in a way that points at setup rather than code. It accepts --config and --mode like the other commands.
See also
- Configuration — the fields doctor validates.
- Runtimes — the runtime commands it checks.
