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

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    float multiply
    bigInt multiply
    float compare
    bigInt compare
    string compare
    float greater
    bigint greater
    string greater
    toString bigInt
    toString float
    toFloat bigInt
    toFloat string

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Windows
View result in a separate tab
Test name Executions per second
float multiply 2617754.0 Ops/sec
bigInt multiply 3609814.0 Ops/sec
float compare 3598857.0 Ops/sec
bigInt compare 3430137.0 Ops/sec
string compare 3840754.0 Ops/sec
float greater 2681895.0 Ops/sec
bigint greater 2874655.0 Ops/sec
string greater 3320578.0 Ops/sec
toString bigInt 1939907.0 Ops/sec
toString float 6072368.0 Ops/sec
toFloat bigInt 3049075.0 Ops/sec
toFloat string 2996676.0 Ops/sec