tracing-wasm
Leverage performance profiling with your browser tools with the tracing crate.
Note: tracing_wasm
uses the global JavaScript console
and performance
objects. It will not work in environments where one or both of these are not available, such as Node.js or Cloudflare Workers.
Usage
For the simplest out of the box set-up, you can simply set tracing_wasm
as your default tracing Subscriber in wasm_bindgen(start)
We have this declared in our ./src/lib.rs