Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113
Android
Mobile
one year ago
Test name Executions per second
float multiply 4133336.5 Ops/sec
bigInt multiply 3918209.8 Ops/sec
float compare 4061333.8 Ops/sec
bigInt compare 3918288.0 Ops/sec
string compare 3969861.5 Ops/sec
float greater 4056693.0 Ops/sec
bigint greater 3738022.2 Ops/sec
string greater 3821964.2 Ops/sec
toString bigInt 3452212.2 Ops/sec
toString float 6837171.0 Ops/sec
toFloat bigInt 3067236.8 Ops/sec
toFloat string 2521643.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


;