Split Performance (v5)

Revision 5 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Split
var args = 'now later today tomorrow'.split(' ')
ready
Array
args = ['now', 'later', 'today', 'tomorrow']
ready
typeof object
typeof ['now', 'later', 'today', 'tomorrow']==='object'
ready
typeof string
typeof ['now', 'later', 'today', 'tomorrow']==='string'
 
ready
typeof string
typeof 'bla bla'==='string'
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.