Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Perf

import { Perf } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.27.0/nats-base-client/internal_mod.ts";
class Perf {
constructor();
measures: Map<string, number>;
timers: Map<string, number>;
 
getEntries(): {
name: string;
duration: number;
}
[]
;
mark(key: string);
measure(
key: string,
startKey: string,
endKey: string,
);
}

§Constructors

§
new Perf()
[src]

§Properties

§
measures: Map<string, number>
[src]
§
timers: Map<string, number>
[src]

§Methods

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