Script Preparation code:
AخA
 
var str0 = "abc";
var str1 = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz";
Tests:
  • Number(short string)

     
    var a = Number(str0);
  • Number(long string)

     
    var b = Number(str1);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Number(short string)
    Number(long string)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Chrome 109 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Number(short string) 5412330.5 Ops/sec
Number(long string) 5434758.5 Ops/sec