Historical Performance Data aggregated from 5 community runs

Desktop Results:
Firefox 5 runs
x*x
23K/s
sqrt with Math.pow
11K/s

Fastest: x*x (2.0x faster)

View exact numbers
  • x*x: 22,637 ops/sec
  • sqrt with Math.pow: 11,408 ops/sec

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

Browser OS User Agent When Created
Firefox 151 Linux Mozilla/5.0 (X11; Linux x86_64; rv:151.0) Gecko/20100101 Firefox/151.0 one month ago
Firefox 146 Linux Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0 6 months ago
Safari 26 Mac OS X 10.15.7 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15 8 months ago
Chrome 137 Windows Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0 one year ago
Firefox 139 Ubuntu Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0 one year ago
Firefox 138 Linux Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0 one year ago
Safari 18 Mac OS X 10.15.7 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15 one year ago
Firefox 136 Ubuntu Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0 one year ago
Chrome 131 Windows Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0 one year ago