A simple benchmark of various math operations (2014) (latkin.org)
from lysdexic@programming.dev to programming@programming.dev on 19 Jun 05:48
https://programming.dev/post/15719052

#programming

threaded - newest

calcopiritus@lemmy.world on 28 Jun 08:52 collapse

This synthetic benchmark is nice a general wisdom thing. But I’d love a more complete analysis taking into account loading from memory, caches, SIMD, CPU pipeline and all of that.

Probably when taking all those things into account (specially loading values from memory) the performance difference of a div and a mult should be negligible.