@web-engine-dev/time / now
Function: now()
now():
number
High-resolution timestamp in milliseconds. Uses performance.now when available, falling back to Date.now.
Returns
number
Example
typescript
const start = now();
performOperation();
const duration = now() - start;
console.log(`Operation took ${duration.toFixed(2)}ms`);