regex vs. split (v10)

Revision 10 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
split
var a = 'test.test'.split('.')
a[0]
ready
regex
var a = 'test.test'.split('.')[0]
ready

Revisions

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