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

x/natsws/src/mod.ts>Perf

WebSocket NATS
Go to Latest
class Perf
import { Perf } from "https://deno.land/x/natsws@v1.27.0/src/mod.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,
)