Script Preparation code:
AخA
 
var strNum = '6969699'
Tests:
  • implicit

     
    var imp = + strNum
  • parseInt

     
    var toStr = parseInt(strNum)
  • Number

     
    var num = Number(strNum)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    implicit
    parseInt
    Number

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
implicit 25850866.0 Ops/sec
parseInt 7970199.0 Ops/sec
Number 9947632.0 Ops/sec