MCPcopy
hub / github.com/formatjs/formatjs / getMarginOfError

Function getMarginOfError

benchmarks/cli-comparison/benchmark-tinybench.mjs:196–199  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

194}
195
196function getMarginOfError(result) {
197 const latency = getLatency(result)
198 return latency.moe ?? ((latency.rme / 100) * latency.mean)
199}
200
201function getSampleCount(result) {
202 const latency = getLatency(result)

Callers 1

Calls 1

getLatencyFunction · 0.85

Tested by

no test coverage detected