XPerf
指南

规则 ID 映射(历史 — 数字 → 标识名)

别名尚未实现。 规范 ID 仅为 语义标识符。此文件是 2026-10-22 重命名的一次性迁移参考;CLI 不接受左侧的数字代码。

已移除的 ID(jitter 2026-10-22)没有 slug,不得重复使用:CX001、CX003、CX004、BE002、KT004、OC001、OC004、PP004。

arktsperf

OldSlug
AT001at-alloc-hot
AT002at-object-delete
AT003at-console-hot
AT004at-includes-hot
AT005at-json-hot

光束性能

OldSlug
BE001be-list-concat-reduce
BE003be-io-puts-hot
BE004be-map-merge-hot
BE005be-enum-map-filter-chain

已移除(仅碑文):

  • BE002

cperf

OldSlug
CP001cp-alloc-hot
CP002cp-realloc-grow-one
CP003cp-printf-hot
CP004cp-strlen-in-cond
CP005cp-strcat-hot

cppperf

OldSlug
CX002cx-string-append-unreserved

已移除(仅墓碑):

  • CX001
  • CX003
  • CX004

csharp性能

OldSlug
CS001cs-list-add-no-capacity
CS002cs-字符串-加-热
CS003cs-console-hot
CS004cs-regex-hot

dartperf

OldSlug
DT001dt-list-add-empty
DT002dt-字符串-加-热
DT003dt-print-hot
DT004dt-growable-add-empty

goperf

OldSlug
GP001gp-make-hot
GP002gp-字符串-加-热
GP003gp-fmt-hot
GP004gp-append-nil-slice
GP005gp-defer-hot

jsperf

OldSlug
JP001jp-alloc-hot
JP002jp-console-hot
JP003jp-delete-shape
JP004jp-删除数组空洞
JP005jp-string-plus-in-loop
JP006jp-地图-过滤-链

jvm性能

OldSlug
JP001jp-封装原始集合
JP002jp-string-concat-hot
JP003jp-regex-hot
JP004jp-format-hot
JP005jp-unpresized-collection
JP006jp-boxed-stream
JP007jp-异常控制流
JP008jp-legacy-synchronized-type
JP009jp-多布尔字段
JP010jp-枚举-键-哈希-集合
JP011jp-collection-chain
JP012jp-value-class-boxing
JP013jp-lambda-to-non-inline-hot
JP014jp-lazy-default-mode
JP015jp-数据-复制-热
JP016jp-android-sparse-array
JP017jp-log-hot
JP018jp-sleep-polling
JP019jp-finalize
JP020jp-昂贵-分配-热点
JP021jp-hot-heavy-alloc
JP022jp-hot-format-log
JP023jp-热点系统调用
JP024jp-位图解码-禁止重用
JP025jp-hot-post-lambda
JP026jp-ui-text-append
JP027jp-baos-tobytearray-copy
JP028jp-hot-payload-copy
JP030jp-客户端-工厂-重建
JP031jp-string-intern-hot
JP032jp-非静态字段更新器

kotlin性能

OldSlug
KT001kt-list-add-hot
KT002kt-字符串-加-热
KT003kt-println-hot

已移除(仅保留墓碑):

  • KT004

luaperf

OldSlug
LU001lu-table-insert-hot
LU002lu-string-concat-hot
LU003lu-print-hot

nimperf

OldSlug
NM001nm-seq-add-hot
NM002nm-string-amp-in-loop (已删除, 墓碑)
NM003nm-echo-hot
NM004nm-seq-no-capacity

objcperf

OldSlug
OC002oc-nsstring-append-热
OC003oc-nslog-hot

已移除(仅墓碑):

  • OC001
  • OC004

phpperf

OldSlug
PH001ph-字符串-点-热
PH002ph-数组-合并-重新绑定
PH003ph-echo-hot

pyperf

OldSlug
PP001pp-str-plus-hot
PP002pp-list-plus-rebind
PP003pp-print-hot

已移除(仅保留墓碑):

  • PP004

rubyperf

OldSlug
RB001rb-字符串-加-热
RB002rb-array-plus-rebind
RB003rb-puts-hot
RB004rb-hash-merge-in-loop (已移除, 墓碑)

rustperf

OldSlug
RS001rs-alloc-hot
RS002rs-string-plus-in-loop
RS003rs-println-hot
RS004rs-格式-重新绑定-热
RS005rs-vec-no-capacity
RS006rs-collect-vec-hot

swiftperf

OldSlug
SP001sp-force-unwrap-in-loop
SP002sp-string-plus-in-loop
SP003sp-print-hot
SP004sp-array-no-reserve
SP005sp-map-joined-chain

zperf

OldSlug
ZP001zp-alloc-hot
ZP002zp-append-without-reserve
ZP003zp-页面分配器-小
ZP004zp-debug-allocator
ZP005zp-大结构按值传递
ZP006zp-print-hot
ZP007zp-unbuffered-io
ZP008zp-missing-free
ZP009zp-extern-struct-填充
ZP010zp-广义运行时安全
ZP011zp-packable-bools
ZP012zp-usize-索引-字段
ZP013zp-aos-单字段
ZP014zp-捕获-不可达-分配
ZP015zp-超大枚举标签
ZP016zp-可选标量字段
ZP017zp-bool-array
ZP018zp-静态字符串映射
ZP019zp-runtime-div-hot
ZP020zp-queue-ordered-remove
ZP021zp-shift-on-read
ZP022zp-每包分配
ZP023zp-不变浮点除法
ZP024zp-map-put-without-ensure
ZP025zp-catch-unreachable-io
ZP026zp-竞技场-重置-全部免费
ZP027zp-创建-销毁-热
ZP028zp-固定大小分配-热点

2026-10-27 作用域重命名(*-in-loop → *-hot)

默认匹配现在是 --scope all(也报告循环之外的情况)。包含 in-loop 的标识符已被 重命名,以使名称不再暗示仅循环作用域。旧的标识符已在每个工具包的 evidence/_removed/*.REMOVED.md 下作废,并且 绝不能再次使用。活动 ID 列在每个工具包的 docs/rule-ids.md 中。在工具包支持的情况下,可以选择 --scope loop 以匹配以前仅限循环的情形。

上面的数字 → slug 行保持了 历史 2026-10-22 的映射(许多目标在 2026-10-27 又被重新命名)。