# Trice
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.
[](https://github.com/surrealdb/trice) [](https://docs.rs/trice/) [](https://crates.io/crates/trice) [](https://github.com/surrealdb/trice)
#### Features
- Replacement for `std::time::Instant`
- Uses `performance.now()` in WASM environments
- Uses `std::time::Instant` in normal environments