Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/uuid/lib/lib.deno_runtime.d.ts>performanceUtil.Performance

Deprecated! UUID is part of the deno standard library
Latest
class performanceUtil.Performance
import { performanceUtil } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { Performance } = performanceUtil;

Methods

now(): number

Returns a current time from Deno's start. In milliseconds. Flag --allow-high-precision give a precise measure.

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