XPerf
语言JavaScript

jsperf 规则 ID(slug)

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

Slug
jp-alloc-hot
jp-console-hot
jp-delete-shape
jp-delete-array-hole
jp-map-filter-chain
jp-regex-ctor-hot
jp-json-hot
jp-dom-query-hot
jp-intl-datetimeformat-hot
jp-readfile-sync-hot
jp-clock-hot
jp-query-all-star
jp-execjs-in-timer
jp-clone-per-event

Matching scope defaults to --scope all (report everywhere). Opt in to --scope loop for the former in-loop-only match. Former *-in-loop slugs were renamed to *-hot (see Renamed below).

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

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

旧 slug新 slug
jp-alloc-in-loopjp-alloc-hot
jp-clock-in-loopjp-clock-hot
jp-console-in-loopjp-console-hot
jp-dom-query-in-loopjp-dom-query-hot
jp-intl-datetimeformat-in-loopjp-intl-datetimeformat-hot
jp-json-in-loopjp-json-hot
jp-readfile-sync-in-loopjp-readfile-sync-hot
jp-regex-ctor-in-loopjp-regex-ctor-hot

Removed (tombstone; never reuse)

  • jp-string-plus-in-loop — push + join was not ~2× on the matched shapes. See evidence/_removed/.

另见 根目录 rule-id-map。