Crates.io | trice |
lib.rs | trice |
version | 0.4.0 |
source | src |
created_at | 2022-02-17 07:07:31.081299 |
updated_at | 2024-01-04 21:40:42.035137 |
description | A minimal replacement for std::time::Instant that works in WASM for the web and Node.js. |
homepage | https://github.com/surrealdb/trice |
repository | https://github.com/surrealdb/trice |
max_upload_size | |
id | 533933 |
size | 21,366 |
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