MCPcopy
hub / github.com/CapSoftware/Cap / formatMs

Function formatMs

apps/desktop/src/routes/editor/PerformanceOverlay.tsx:170–170  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

168
169 const formatFps = (fps: number) => fps.toFixed(1);
170 const formatMs = (ms: number) => ms.toFixed(2);
171
172 const copyStatsToClipboard = async () => {
173 const s = stats();

Callers 2

copyStatsToClipboardFunction · 0.85
PerformanceOverlayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected