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

Function resetPerfHotPathStats

src/ink/replPerfScenarios.tsx:202–209  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202function resetPerfHotPathStats(): void {
203 resetRawAnsiRenderStatsForTesting()
204 resetOptimizerStatsForTesting()
205 resetLogUpdateRenderStatsForTesting()
206 resetOutputRenderStatsForTesting()
207 resetTerminalWriteStatsForTesting()
208 resetVirtualScrollStatsForTesting()
209}
210
211export function appendPerfScenarioSummaryIfRequested(
212 summary: PerfScenarioSummary,

Callers 5

runPromptTypingScenarioFunction · 0.85
runLongScrollScenarioFunction · 0.85
runLongHistoryScenarioFunction · 0.85

Tested by

no test coverage detected