Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36
Chrome Mobile 114
Android
Mobile
one year ago
Test name Executions per second
float multiply 3723224.5 Ops/sec
bigInt multiply 3293047.5 Ops/sec
float compare 3709038.0 Ops/sec
bigInt compare 3368924.8 Ops/sec
string compare 3572891.5 Ops/sec
float greater 3719583.5 Ops/sec
bigint greater 3400266.0 Ops/sec
string greater 3591998.0 Ops/sec
toString bigInt 3312943.8 Ops/sec
toString float 6660904.5 Ops/sec
toFloat bigInt 3276006.2 Ops/sec
toFloat string 2519951.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