Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / TickRootCost

Interface: TickRootCost โ€‹

Defined in: core/report/cost/types.ts:31

Worst-case reachable cost for one tick-tagged root function.

Properties โ€‹

breakdown โ€‹

breakdown: CallSiteCost[]

Defined in: core/report/cost/types.ts:40

Per-direct-call-site cost, sorted heaviest first. Partitions the subtree.


reachableFunctions โ€‹

reachableFunctions: number

Defined in: core/report/cost/types.ts:34

Distinct functions reachable from this root (the root included).


recursive โ€‹

recursive: boolean

Defined in: core/report/cost/types.ts:42

True if a call cycle (recursion) was reached - worst case is then a lower bound.


root โ€‹

root: string

Defined in: core/report/cost/types.ts:32


selfCommands โ€‹

selfCommands: number

Defined in: core/report/cost/types.ts:38

The root function's own command lines (the dispatch/guard lines themselves).


worstCaseCommands โ€‹

worstCaseCommands: number

Defined in: core/report/cost/types.ts:36

Sum of every reachable function's own command count.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.