Appearance
helix / CostReport
Interface: CostReport โ
Defined in: core/report/cost/types.ts:45
Properties โ
allowedLints โ
allowedLints:
Lint[]
Defined in: core/report/cost/types.ts:60
Lints silenced with dp.allow, reason attached.
lints โ
lints:
Lint[]
Defined in: core/report/cost/types.ts:58
Wiki optimisation lints nobody allowed - see LintRule.
nbtReads โ
nbtReads:
NbtRead[]
Defined in: core/report/cost/types.ts:54
Entity/block NBT reads reachable from tick, with how often they run.
perFunction โ
perFunction:
Map<string,FunctionCost>
Defined in: core/report/cost/types.ts:52
Every analysed function by bare name.
staleAllows โ
staleAllows:
object[]
Defined in: core/report/cost/types.ts:62
dp.allow calls naming a function the pack doesn't have (renamed or moved) - they silence nothing.
fn โ
fn:
string
rule โ
rule:
LintRule
tickRoots โ
tickRoots:
TickRootCost[]
Defined in: core/report/cost/types.ts:46
totalWorstCaseCommandsPerTick โ
totalWorstCaseCommandsPerTick:
number
Defined in: core/report/cost/types.ts:48
Sum of worst-case commands across all tick roots.
unboundedScanners โ
unboundedScanners:
FunctionCost[]
Defined in: core/report/cost/types.ts:50
Functions reachable from tick that perform an unbounded entity scan.
warnings โ
warnings:
NbtRead[]
Defined in: core/report/cost/types.ts:56
The nbtReads faster than NBT_READ_MIN_PERIOD that nobody allowed.