Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    parseInt a number
    parseInt a string
    toString a number
    toString a string
    unery convert to number from number
    unery convert to number from string

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
parseInt a number
110.1M/s
unery convert to number from number
109.8M/s
toString a number
27.1M/s
toString a string
25.9M/s
unery convert to number from string
18.1M/s
parseInt a string
11.4M/s
View exact numbers
Test name Executions per second
parseInt a number 110,082,160 Ops/sec
unery convert to number from number 109,841,088 Ops/sec
toString a number 27,112,506 Ops/sec
toString a string 25,938,566 Ops/sec
unery convert to number from string 18,087,460 Ops/sec
parseInt a string 11,379,526 Ops/sec