shm 扩容 + PUNCH_HOLE 回收(集成 #22,与 #21 art_scan 共存) - #23
Merged
Conversation
Contributor
Author
v0.2.14 benchmark 复盘:这是双峰取舍,不是全面提升已在 v0.2.14(shm,min-of-3,隔离重跑验证真实可复现;fs/redis 基本持平,排除 CPU 争用)上跑完 30 case: 大幅变快(call / 递归 / 分配密集)
明显回归(compute 循环密集)
shm 汇总:均值 +3.11%,中位数 +34%(中位数被回归主导)。 机理判断:本 PR 的「data 区 ×64 升根 + head 池翻倍」用更高的基线分配成本换大幅减少 resize——只对反复分配/递归场景净赚,对稳态大循环是纯开销。 建议 follow-up:把 ×64 增长因子调温和些(如 ×8/×16 分级),保住 fib/nqueens 的收益同时压回 matmul/quicksort 的回归。 CSV 已落库 kvlang master(PR #281, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
集成 fork PR #22(carsontung666,issue #15)到 main,解决与已合并 #21 的 CMakeLists 冲突(两测试目标共存)。
Closes #22