Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
method Performance.prototype.now

Returns a current time from Deno's start in milliseconds.

Use the permission flag --allow-hrtime return a precise value.

const t = performance.now();
console.log(`${t} ms since start!`);

Returns

number