formatBenchmark
formatBenchmark(
benchmark):string
Defined in: execution/benchmark.ts:146
Format a Benchmark as a human-readable string.
Parameters
Section titled “Parameters”benchmark
Section titled “benchmark”Returns
Section titled “Returns”string
Example
Section titled “Example”Benchmark (245.3ms total)──────────────────────────────────── #1 source 12.1ms Direct input #2 transform 180.4ms Transform core:parseXlsx #3 emit 48.2ms Emit: companies, soiInvestments companies 32.1ms soiInvestments 16.1ms #4 mapOut 4.6ms MapOut: lookup lookup 4.6ms
By phase: source 12.1ms (1 node) transform 180.4ms (1 node) emit 48.2ms (1 node) mapOut 4.6ms (1 node)