Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
hypotvssqrtpowervssqrtxi
(version: 0)
argiuaegioaergjioaerjgioaejgioaerjg
Comparing performance of:
hypot vs sqrtpower vs sqrt xi
Created:
3 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var x = 100; var y = 100;
Tests:
hypot
eval(""); var r = Math.hypot(x, y);
sqrtpower
eval(""); var r = Math.sqrt(x ** 2 + y ** 2);
sqrt xi
eval(""); var r = Math.sqrt(x * x + y * y);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
hypot
sqrtpower
sqrt xi
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
one year ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Browser/OS:
Chrome 133 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
hypot
8672322.0 Ops/sec
sqrtpower
9773867.0 Ops/sec
sqrt xi
9788292.0 Ops/sec
Related benchmarks:
Round Numbers to 2 digits
quick maths
hypotvssqrtpower
Calculate
Comments
Confirm delete:
Do you really want to delete benchmark?