3 ms·
> How to benchmark something like this Usually, you can run something like perf or callgrind, with instruction level profiling, and you will get a good idea. I
by lionkor 4y ago
> How to benchmark something like this
Usually, you can run something like perf or callgrind, with instruction level profiling, and you will get a good idea. Its not benchmarking in the traditional sense, but it has a similar result.
SIMD can make your code faster, or slower - profiling is a great way to tell exactly how much faster or slower.