MCPcopy Create free account
hub / github.com/Noumena-Network/code / makeInitialStats

Function makeInitialStats

src/components/Markdown/markdownRenderStats.ts:19–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17let stats: MarkdownRenderStatsSnapshot = makeInitialStats()
18
19function makeInitialStats(): MarkdownRenderStatsSnapshot {
20 return {
21 buildCalls: 0,
22 totalBuildDurationMs: 0,
23 maxBuildDurationMs: 0,
24 codeFenceFormatCalls: 0,
25 codeFenceFormatTotalMs: 0,
26 codeFenceFormatMaxMs: 0,
27 lastCodeFenceFormat: null,
28 }
29}
30
31export function resetMarkdownRenderStatsForTesting(): void {
32 stats = makeInitialStats()

Calls

no outgoing calls

Tested by

no test coverage detected