Script Preparation code:
Tests:

Historical Performance Data aggregated from 42 community runs

Desktop Results:
Chrome 26 runs
Math.sqrt
147K/s
Quakes fast inverse sqrt.
2K/s

Fastest: Math.sqrt (96.8x faster)

View exact numbers
  • Math.sqrt: 147,097 ops/sec
  • Quakes fast inverse sqrt. : 1,520 ops/sec
Firefox 16 runs
Math.sqrt
44K/s
Quakes fast inverse sqrt.
1K/s

Fastest: Math.sqrt (40.8x faster)

View exact numbers
  • Math.sqrt: 43,586 ops/sec
  • Quakes fast inverse sqrt. : 1,068 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.sqrt
    Quakes fast inverse sqrt.

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.0.0 Safari/537.36 Edg/151.0.0.0
Chrome 151 on Windows
View result in a separate tab
Math.sqrt
1.2M/s
Quakes fast inverse sqrt.
3K/s
View exact numbers
Test name Executions per second
Math.sqrt 1,159,810 Ops/sec
Quakes fast inverse sqrt. 2,855 Ops/sec