Math ops

Benchmark created on


Setup

const x = Math.random();
const y = Math.random();
const z = Math.random();

Test runner

Ready to run.

Testing in
TestOps/sec
Square
x*x + y*y + z*z;
ready
SquareRoot
Math.sqrt(x*x+y*y+z*z);
ready
ACOS
Math.acos(x);
ready

Revisions

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