Skip to content

helix / CallSiteCost

Interface: CallSiteCost

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

Cost attributed to one direct call site in a tick root's body - the subtree reached through that call, with each shared function counted once (claimed by the first call site in body order that reaches it). So a root's selfCommands plus every breakdown entry's commands sums back to its worstCaseCommands.

Properties

callee

callee: string

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

The called function (bare name).


commands

commands: number

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

Attributed commands: this callee's subtree, shared functions counted once.


functions

functions: number

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

Attributed functions in that subtree.


guard

guard: string

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

The execute … guard this call sits behind, or "" when unconditional.

Released under the MIT License · Credits