Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
17 days ago
Test name Executions per second
float multiply 4931273.5 Ops/sec
bigInt multiply 5030014.5 Ops/sec
float compare 4949152.5 Ops/sec
bigInt compare 5175788.0 Ops/sec
string compare 4968843.5 Ops/sec
float greater 4963045.5 Ops/sec
bigint greater 4982839.0 Ops/sec
string greater 4710759.5 Ops/sec
toString bigInt 4013036.0 Ops/sec
toString float 8130573.0 Ops/sec
toFloat bigInt 4547554.0 Ops/sec
toFloat string 3240164.2 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


;