XPerf
语言ArkTS

arktsperf-lint

这篇还没有中文,下面是英文原文。

Heuristic ArkTS / TS checker.

RuleDefaultMessage
at-alloc-hotoffallocation-like pattern; reuse objects/arrays
at-console-hotoffconsole.*; gate debug
at-includes-hothintindexOf/includes → Set / LUT
at-json-hothintJSON.parse/stringify; hoist when stable

Scope: default --scope all (report everywhere). Opt in to --scope loop for the former in-loop-only match. Former *-in-loop slugs were renamed to *-hot (tombstoned; never reuse).