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

Function log

test/compute-engine/compile-performance.test.ts:21–25  ·  view source on GitHub ↗
(...args: unknown[])

Source from the content-addressed store, hash-verified

19 * run uninformative. What a compile-cost test is actually defending against is
20 * an algorithmic blowup — a traversal that revisits nodes, or per-compile state
21 * that accumulates across calls — and that is visible as a node-visit count,
22 * which is identical on every machine. `countCompileVisits` below counts calls
23 * to `BaseCompiler.compile`, the single recursive entry point every target's
24 * emitter routes through.
25 *
26 * The execution-speed comparisons further down (compiled runner vs
27 * interpreter) are still timed, because there is no counter that can stand in
28 * for "the generated code runs faster than the interpreter". They compare two

Callers 5

printFunction · 0.50
printFunction · 0.50
gen_cases.pyFile · 0.50
gen_solve.pyFile · 0.50

Calls 1

logMethod · 0.65

Tested by

no test coverage detected