XPerf
语言Ruby

rubyperf 规则 ID(slug)

Canonical ids are slugs only. Numerics from the old map are historical and not accepted.

Slug
rb-string-plus-hot
rb-array-plus-rebind
rb-puts-hot
rb-regexp-new-hot
rb-json-hot
rb-file-read-hot

已重命名 2026-10-27 (墓碑化旧 ID;永不复用)

Default --scope all (or kit-equivalent). 旧的 *-in-loop ID 会误导工具/模型;它们被墓碑化在 evidence/_removed/ 下。

旧 slug新 slug
rb-file-read-in-looprb-file-read-hot
rb-json-in-looprb-json-hot
rb-puts-in-looprb-puts-hot
rb-regexp-new-in-looprb-regexp-new-hot
rb-string-plus-in-looprb-string-plus-hot

Removed (tombstone; never reuse)

  • rb-date-parse-in-loop — see evidence/_removed/
  • rb-hash-merge-in-loop — see evidence/_removed/

另见 根目录 rule-id-map。