Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Windows
Desktop
one year ago
Test name Executions per second
Math.sin 7670.8 Ops/sec
Math.cos 7704.3 Ops/sec
fastSin 11407.4 Ops/sec
fastCos 11346.7 Ops/sec
lookupSin 3139.1 Ops/sec
lookupCos 3160.1 Ops/sec
Script Preparation code:
Tests:
  • Math.sin

  • Math.cos

  • fastSin

  • fastCos

  • lookupSin

  • lookupCos