Math.hypot vs Math.sqrt vs Math.sqrt > Math.pow vs Math.sqrt > **| Test case name | Result |
|---|---|
| Math.hypot | |
| Math.sqrt | |
| Math.sqrt > Math.pow | |
| Math.sqrt > ** |
| Test name | Executions per second |
|---|---|
| ✓ Math.sqrt | 966 Ops/sec |
| Math.sqrt > Math.pow | 640 Ops/sec |
| Math.sqrt > ** | 190 Ops/sec |
| Math.hypot | 153 Ops/sec |