Repository navigation
perf(autoresearch): vec add perf - #16
Merged
Merged
Conversation
…25), but middle sizes unchanged — compiler doesn't vectorize memory streaming as well as reductions
Result: {"status":"keep","total_us":76280.6}
…imd forces AVX2 vectorization for memory streaming
Result: {"status":"keep","total_us":74626.1}
…67M (73774 vs 76625), 2.5x at 4M — 2 threads balance bandwidth and parallelism
Result: {"status":"keep","total_us":73774}
…e-friendly static scheduling improves over flat parallel for simd
Result: {"status":"keep","total_us":74052.1}
…ead further
Result: {"status":"keep","total_us":73886.1}
…ng next block hides memory latency
Result: {"status":"keep","total_us":73746}
…than 128K
Result: {"status":"keep","total_us":73739.2}
…n loop slightly better
Result: {"status":"keep","total_us":74111.7}
Result: {"status":"keep","total_us":74037.9}
Result: {"status":"keep","total_us":73891.9}
… helps middle sizes
Result: {"status":"keep","total_us":73949.7}
…M (74074 vs 74271)
Result: {"status":"keep","total_us":74074.1}
… than safelen(2)+aligned
Result: {"status":"keep","total_us":73780}
…r at 67M (73829 vs 73996)
Result: {"status":"keep","total_us":73829.3}
…4364)
Result: {"status":"keep","total_us":73891.4}
…98) and 4M (700 vs 922)
Result: {"status":"keep","total_us":74122.8}
…7 vs 74077), but risky since malloc doesn't guarantee 32B alignment
Result: {"status":"keep","total_us":73627.9}
…s aligned(32), but 4M much better (822 vs 1020)
Result: {"status":"keep","total_us":73824.7}
…5 vs 74234) and 4M (747 vs 944) — safelen(2) optimal
Result: {"status":"keep","total_us":73805.3}
…371) and 4M (910 vs 1053)
Result: {"status":"keep","total_us":73965.3}
…(4), within noise
Result: {"status":"keep","total_us":73869.5}
…869), within noise but promising
Result: {"status":"keep","total_us":73736.5}
…len, but 1M much better (119 vs 156)
Result: {"status":"keep","total_us":73769.2}
…890), within noise but promising
Result: {"status":"keep","total_us":73803.7}
… 75387) and 16M (18092 vs 18301), but 4M worse (1089 vs 907)
Result: {"status":"keep","total_us":73842.7}
…707 vs 73910), within noise but promising
Result: {"status":"keep","total_us":73707.7}
…067) and all sizes
Result: {"status":"keep","total_us":73858.4}
…s 74360), write prefetch helps
Result: {"status":"keep","total_us":73777.8}
…852), new best!
Result: {"status":"keep","total_us":73639.6}
…vs 73925 within noise), but 4M much better (763 vs 911)
Result: {"status":"keep","total_us":73940.1}
… 74168), new best!
Result: {"status":"keep","total_us":73644.5}
…049) and 1M (114 vs 134), but 256K worse (79 vs 56)
Result: {"status":"keep","total_us":73913.5}
…3854 vs 74241), new best for 128K blocks!
Result: {"status":"keep","total_us":73854.1}
…991) and 256K (55 vs 69), new best for aligned(32)!
Result: {"status":"keep","total_us":73775.4}
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.
No description provided.