MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / clearMetricsDisplay

Function clearMetricsDisplay

examples/worker-rendering/main.ts:498–514  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

496}
497
498function clearMetricsDisplay(): void {
499 setElementText('fpsDisplay', '--');
500 setElementText('frameTimeDisplay', '--');
501 setElementText('memoryDisplay', '--');
502 setElementText('frameDropsDisplay', '--');
503 setElementText('totalFramesDisplay', '--');
504 setElementText('elapsedDisplay', '--');
505
506 if (frameGraph) {
507 frameGraph.clear();
508 }
509
510 const fpsEl = document.getElementById('fpsDisplay');
511 if (fpsEl) {
512 fpsEl.setAttribute('data-quality', 'smooth');
513 }
514}
515
516// ============================================================================
517// Main Benchmark Logic

Callers 3

handleGenerateFunction · 0.85
handleClearFunction · 0.85
handleEmergencyStopFunction · 0.85

Calls 2

setElementTextFunction · 0.85
clearMethod · 0.65

Tested by

no test coverage detected