HTML Preparation code:
AخA
 
1
<script>
2
  var str = 'charlie alpha foxtrot beta gamma delta omega iota kappa lambda mu nu xi omicron theta eta zeta',
3
      delim = ', ';
4
</script>
Tests:
  • split separator

     
    str.split(' ')
  • split regex

     
    str.split(/\s/)
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    split separator
    split regex

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133 on Linux
View result in a separate tab
Test name Executions per second
split separator 4479038.0 Ops/sec
split regex 2484541.2 Ops/sec