Tests:
  • string crap

    AخA
     
    var r = ' '.repeat(10).split('').map(e => 1)
  • bulky loops

     
    var r = [];
    for(var i = 0; i < 10; i++)
    {
      r.push(1)
    }
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    string crap
    bulky loops

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61 on Windows
View result in a separate tab
Test name Executions per second
string crap 2686692.8 Ops/sec
bulky loops 30292154.0 Ops/sec