Add std::fill and std::fill_n benchmarks#5400
Conversation
|
nah, lgtm. I don't really like pulling the allocators out into a template parameter, as I don't think it's worth multiplying the test matrix for them (although having some benchmarks use one and some the other probably was bad). |
If there's little difference in performance between allocators, I'd just use the worse one ( |
std::fill and std::fill_n benchmarks
|
Sounds good to me since I saw no perf difference. I'll validate and push. |
|
lgtm |
|
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |

I wrote these benchmarks while fixing some issues with memset loop recognition in the compiler, but I think they are more broadly useful.