Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
float multiply 8332327.0 Ops/sec
bigInt multiply 8781614.0 Ops/sec
float compare 8376118.0 Ops/sec
bigInt compare 8796958.0 Ops/sec
string compare 8338592.5 Ops/sec
float greater 8327624.5 Ops/sec
bigint greater 8768612.0 Ops/sec
string greater 8306658.0 Ops/sec
toString bigInt 7830959.0 Ops/sec
toString float 14830420.0 Ops/sec
toFloat bigInt 8163512.5 Ops/sec
toFloat string 6122485.5 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


;