MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / performanceMetricValue

Function performanceMetricValue

tooling/scripts/perf-web-runtime.mjs:523–526  ·  view source on GitHub ↗
(result, name)

Source from the content-addressed store, hash-verified

521}
522
523function performanceMetricValue(result, name) {
524 const metric = result.metrics?.find((entry) => entry.name === name)
525 return typeof metric?.value === 'number' ? metric.value : 0
526}
527
528function summarizePerformanceMetrics(result) {
529 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected