Split Performance (v10)

Revision 10 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Split
var args = 'now later today tomorrow'.split(' ');
args[0]
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.