Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
one month ago
Test name Executions per second
float multiply 6725611.5 Ops/sec
bigInt multiply 6848755.5 Ops/sec
float compare 6728144.0 Ops/sec
bigInt compare 6931774.5 Ops/sec
string compare 6612867.0 Ops/sec
float greater 6758680.0 Ops/sec
bigint greater 6952352.0 Ops/sec
string greater 6579449.5 Ops/sec
toString bigInt 5651751.0 Ops/sec
toString float 11768862.0 Ops/sec
toFloat bigInt 6310714.5 Ops/sec
toFloat string 4956953.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


;