Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
fast sin
1.1M/s
Math.sin
453K/s

Fastest: fast sin (2.5x faster)

View exact numbers
  • fast sin: 1,117,977 ops/sec
  • Math.sin: 452,784 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.sin
    fast sin

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month 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
fast sin
1.2M/s
Math.sin
454K/s
View exact numbers
Test name Executions per second
fast sin 1,155,071 Ops/sec
Math.sin 454,231 Ops/sec