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

File benchmarks.ts

test/big-decimal/benchmarks.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { BigDecimal } from '../../src/big-decimal';
2import { Decimal } from 'decimal.js';
3
4function bench(name: string, fn: () => void, iterations = 1000): string {

Callers

nothing calls this directly

Calls 12

sinMethod · 0.80
cosMethod · 0.80
atanMethod · 0.80
benchFunction · 0.70
logMethod · 0.65
setMethod · 0.65
addMethod · 0.65
mulMethod · 0.65
divMethod · 0.65
sqrtMethod · 0.65
expMethod · 0.65
lnMethod · 0.65

Tested by

no test coverage detected