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
{{ message }}
Repository navigation
[perf][P2] mapfile store side residual (~3.3x after #670) #680
Follow-up of #663 (PR #670 took input split+bulk store: 100k bench 243ms->174ms vs GNU 52ms). Remaining ~3.3x is store-side per the #663 report: per-element quote allocs (quote_array_value ~8 allocs/scans per element via unconditional replace/to_string), the typed-cell double-keep, and the whole-input encode->decode roundtrip in mapfile_input_for_command->split. Each is its own slice. Re-measure first (numbers above are from the #663 report, same-tree release, 100k seq lines).
Second slice up as PR #688 (branch perf/issue680-mapfile-store2): skip whole-input encode roundtrip for ASCII/carrier-free input (single alloc per segment). seq1M -6%. 4 contract tests incl. carrier fallthrough pinned to GNU output. Gate running.
Second slice landed as #688. seq1M -6%; 4 contract tests; gates identical (niu 8=8 — note the product set shrank 49->8 since #662 era: engine fixes cleared 41 product failures). Typed-cell double-keep stays here only if it ever pays; closing as done.
Activity
caomengxuan666 commentedon Oct 16, 2026
Slice up as PR #686 (branch
perf/issue680-mapfile-store): plain-value quote fast path (single alloc; markers/non-ASCII fall through). seq100k mapfile ~181ms->~99ms (~1.8x); matrix 25/26. Gate queued behind #681.perf(executor): quote fast path for plain array values (#680) (#686)
caomengxuan666 commentedon Oct 16, 2026
Slice landed as #686 (squash-merged 5661e01). seq100k mapfile ~181ms->~99ms (~1.8x); matrix 25/26; gates identical (niu 50/49 = known load flake, green on branch). Typed-cell double-keep + encode roundtrip stay open here.
caomengxuan666 commentedon Oct 17, 2026
Second slice up as PR #688 (branch
perf/issue680-mapfile-store2): skip whole-input encode roundtrip for ASCII/carrier-free input (single alloc per segment). seq1M -6%. 4 contract tests incl. carrier fallthrough pinned to GNU output. Gate running.perf(executor): skip the mapfile whole-input encode roundtrip (#680) (#…
caomengxuan666 commentedon Oct 17, 2026
Second slice landed as #688. seq1M -6%; 4 contract tests; gates identical (niu 8=8 — note the product set shrank 49->8 since #662 era: engine fixes cleared 41 product failures). Typed-cell double-keep stays here only if it ever pays; closing as done.
caomengxuan666 commentedon Oct 17, 2026
Closed per previous comment (#686 + #688 landed; typed-cell double-keep showed no payable delta — reopen with numbers if it ever does).
rescue: unmerged #680 mapfile input-side split experiment (from table…
perf(executor): mapfile fast path rides UTF-8 and gates on the author…