MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / abbrev

Function abbrev

benchmarks/report.mjs:488–491  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

486};
487const fmtBy = (ms, unit) => (unit === 'µs' ? fmtUs(ms) : fmtT(ms));
488const abbrev = (n) => !n ? '' : String(n)
489 .replace('value ok, not simplified', 'not simplified')
490 .replace('numeric, not symbolic', 'numeric only')
491 .replace(/^~?(\d+) digits.*/, '$1 digits');
492// Correctness is assumed by default: a correct cell shows only its time, and a
493// quality mark appears only when the result is NOT fully correct.
494function combinedCell(tk, c, unit) {

Callers 1

combinedCellFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected