You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Landed: walker ${-arm inline fragment resolution (no pipeline re-entry for =-free fragments; SubXpassFrame memo shares the enclosing word's frame), case_pattern_matches literal-equality admission (no Vec staging per candidate boundary in prefix/suffix removal), allocation-free remove_matching boundary walk, expand_parameter_pattern_word literal admission. Verification: 120-case ${...} GNU-diff matrix byte-identical (target/issue-suites/results/perf3/), lib 482/482, regression 24/24. Remaining probe-15 cost is the per-command loop machinery (test/[ invocation, $((...)), word expansion of $a refs) — distributed, no single >5% structural win left in this layer without semantic rework (confirms perffix's finding).
The -25% target is NOT met this round. Landed: the per-command preamble's env stamps (__RUBASH_CURRENT_LINE / __RUBASH_CMD_START_LINE) paid key+value String allocations on every executed command (30k commands on probe 15); they now render into a stack buffer and assign only when the line moved (public_accessors.rs). The exec-profile decomposition after the change confirms the remainder is the same distributed cost perffix/perf3 already characterized: assignment-RHS expansion work (execute_empty_words_command), [ /test word expansion, $((...)) evaluation, and the bash_command_source_text render — no single >5% structural win without semantic rework of expansion/assignment internals. Next candidates if a lane takes this up: the per-command command-text renderer (needs a mutation-safe memo), and the $a-reference expansion path inside the walker.
Activity
perf-suite: dedicated benchmark harness + first baseline (24 probes, …
perf(#241 #242): allocation-free shopt consult, literal-word fast pat…
caomengxuan666 commentedon Sep 28, 2026
perf3 round (wt7/perf3 @ c17b6cea) hot-path progress — re-scoped with numbers, stays OPEN:
Landed: walker
${-arm inline fragment resolution (no pipeline re-entry for=-free fragments; SubXpassFrame memo shares the enclosing word's frame), case_pattern_matches literal-equality admission (no Vec staging per candidate boundary in prefix/suffix removal), allocation-free remove_matching boundary walk, expand_parameter_pattern_word literal admission. Verification: 120-case${...}GNU-diff matrix byte-identical (target/issue-suites/results/perf3/), lib 482/482, regression 24/24. Remaining probe-15 cost is the per-command loop machinery (test/[ invocation, $((...)), word expansion of $a refs) — distributed, no single >5% structural win left in this layer without semantic rework (confirms perffix's finding).perf(#241 #242 #281): walker ${-arm inline fragment resolution, patte…
caomengxuan666 commentedon Sep 28, 2026
perf4 round (wt8/perf4) hot-path progress — re-scoped with numbers, stays OPEN:
The -25% target is NOT met this round. Landed: the per-command preamble's env stamps (__RUBASH_CURRENT_LINE / __RUBASH_CMD_START_LINE) paid key+value String allocations on every executed command (30k commands on probe 15); they now render into a stack buffer and assign only when the line moved (public_accessors.rs). The exec-profile decomposition after the change confirms the remainder is the same distributed cost perffix/perf3 already characterized: assignment-RHS expansion work (execute_empty_words_command), [ /test word expansion, $((...)) evaluation, and the bash_command_source_text render — no single >5% structural win without semantic rework of expansion/assignment internals. Next candidates if a lane takes this up: the per-command command-text renderer (needs a mutation-safe memo), and the $a-reference expansion path inside the walker.
perf(#242): unify the history driver's group gather on the feeder path
perf(expansion): one-pass ${} operator index, direct simple-glob matc…
perf(#242): named-event catch_flag for the per-command signal poll