log hypot vs half log norm square (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
log hypot
let x = Math.random();
let y = Math.random();
Math.log(Math.hypot(x, y))
ready
half log normsq
let x = Math.random();
let y = Math.random();
0.5 * Math.log(x*x + y*y)
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.