Skip to main content
Start with a credential-free run. Use a live Modal run only when you need provider evidence.

Run a local report

Install the development environment:
Run the release report against the in-process mock daemon:
Run the action-batch comparison:
These commands do not create Modal resources.

Run against an existing daemon

Replace --mock-local with a daemon URL. Add a token when the daemon requires one.
The report command does not create a Sandbox. The optional --include-sandbox-exec mode attaches to an existing Sandbox when you provide its ID.

Run a live Modal SDK benchmark

Install the Modal extra and authenticate:
Run the SDK benchmark:
This command creates a billable Sandbox. It waits for readiness. It attempts termination and detachment after the run.
Live commands can create billable resources. Record a cost ceiling before the run. Inspect the provider console after cleanup.

Run the current Modal optimized path

Use a clean commit. Publish revision-addressed images before you run the benchmark.
The command measures fresh lifecycle samples and six warm-operation cases. It fails when a required sample, placement check, or cleanup gate fails.

Run a focused experiment

Use the command that owns the question: Read the exact flags and gates in the canonical benchmark procedure before you run a publishable experiment.

Keep raw output private

Write raw output under benchmark-results/. Do not write it at the repository root. Do not commit credentials, endpoint URLs, resource identifiers, screenshots, typed text, clipboard text, or raw failure content. Promote only a sanitized artifact that passes its repository validator. The benchmark data policy defines that promotion boundary.