1# Using Wasmtime's cross-platform profiler
2
3The guest profiling strategy enables in-process sampling and will write the
4captured profile to a file which can be viewed at
5<https://profiler.firefox.com/>.
6
7To use this profiler with the Wasmtime CLI, pass the
8`--profile=guest[,path[,interval]]` flag.
9
10- `path` is where to write the profile, `wasmtime-guest-profile.json` by default
11- `interval` is the duration between samples, 10ms by default
12
13When used with `-W timeout=N`, the timeout will be rounded up to the nearest
14multiple of the profiling interval.
15