Skip to content

helix / TickRootCost

Interface: TickRootCost

Defined in: core/report/cost-report.ts:41

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

Properties

breakdown

breakdown: CallSiteCost[]

Defined in: core/report/cost-report.ts:50

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


reachableFunctions

reachableFunctions: number

Defined in: core/report/cost-report.ts:44

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


recursive

recursive: boolean

Defined in: core/report/cost-report.ts:52

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


root

root: string

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


selfCommands

selfCommands: number

Defined in: core/report/cost-report.ts:48

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


worstCaseCommands

worstCaseCommands: number

Defined in: core/report/cost-report.ts:46

Sum of every reachable function's own command count.

Released under the MIT License · Credits