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

helix / CallSiteCost

Interface: CallSiteCost โ€‹

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

Cost of one direct call site in a tick root, counting each shared function once (first caller wins). A root's selfCommands plus its breakdown sums to worstCaseCommands.

Properties โ€‹

callee โ€‹

callee: string

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

The called function (bare name).


commands โ€‹

commands: number

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

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


functions โ€‹

functions: number

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

Attributed functions in that subtree.


guard โ€‹

guard: string

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

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

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