Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class Perf
import { Perf } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Constructors

new
Perf()

Properties

measures: Map<string, number>
timers: Map<string, number>

Methods

getEntries(): { name: string; duration: number; }[]
mark(key: string)
measure(
key: string,
startKey: string,
endKey: string,
)