Skip to main content

Module profile

Module profile 

Source
Expand description

WARP_PROFILE=: where a run spends its time, sampled at each epoch tick with wasmtime’s GuestProfiler and written as Firefox Profiler JSON when the run’s store drops (open it at https://profiler.firefox.com). Samples are taken at function entries and loop headers of the wasm, host calls show as markers. Engines counting fuel don’t tick, so their runs give no samples.

Enums§

Profile
Without the profiling feature no run is profiled

Constants§

PROFILE_VARIABLE
Environment variable naming the profile file; runs after the first in a process (stage programs, tasks) write <file stem>-<n>.<extension> beside it