XPerf
语言Rust

rustperf 规则 ID(slug)

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

Slug
rs-alloc-hot
rs-println-hot
rs-format-rebind-hot
rs-collect-vec-hot
rs-map-new-hot
rs-regex-new-hot
rs-file-open-hot
rs-clock-hot

另见 根目录 rule-id-map。

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

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

旧 slug新 slug
rs-alloc-in-looprs-alloc-hot
rs-clock-in-looprs-clock-hot
rs-collect-vec-in-looprs-collect-vec-hot
rs-file-open-in-looprs-file-open-hot
rs-format-rebind-in-looprs-format-rebind-hot
rs-println-in-looprs-println-hot
rs-regex-new-in-looprs-regex-new-hot
rs-map-new-hotrs-map-new-hot

Removed

  • rs-string-plus-in-loop — large fill about 1.00×; see evidence/_removed/
  • rs-vec-no-capacity — large fill about 1.00× and about 1.05× bytes; see evidence/_removed/