MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / quoteTiming

Function quoteTiming

quote/quote.ts:193–195  ·  view source on GitHub ↗
(label: string, start: number, extra?: Record<string, any>)

Source from the content-addressed store, hash-verified

191
192function quoteMs(start: number): number {
193 return Date.now() - start;
194}
195
196function quoteTiming(label: string, start: number, extra?: Record<string, any>): void {
197 console.warn("quote timing", label, `${quoteMs(start)}ms`, extra || "");
198}

Callers 3

encodeFramesToWebmFunction · 0.85
handleQuoteMethod · 0.85

Calls 2

quoteMsFunction · 0.85
warnMethod · 0.80

Tested by

no test coverage detected