Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.13
Desktop
one year ago
Test name Executions per second
float multiply 543278976.0 Ops/sec
bigInt multiply 540270400.0 Ops/sec
float compare 538700928.0 Ops/sec
bigInt compare 551440576.0 Ops/sec
string compare 544107264.0 Ops/sec
float greater 548724032.0 Ops/sec
bigint greater 547779648.0 Ops/sec
string greater 544202368.0 Ops/sec
toString bigInt 1857789.1 Ops/sec
toString float 545802944.0 Ops/sec
toFloat bigInt 18543324.0 Ops/sec
toFloat string 540644864.0 Ops/sec
Script Preparation code:
Tests:
  • float multiply

  • bigInt multiply

  • float compare

  • bigInt compare

  • string compare

  • float greater

  • bigint greater

  • string greater

  • toString bigInt

  • toString float

  • toFloat bigInt

  • toFloat string


;