Trice is a minimal replacement for std::time::Instant
that works in WASM for the web and Node.js, enabling time measurement and performance calculations.
std::time::Instant
performance.now()
in WASM environmentsstd::time::Instant
in normal environments