Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
multiple-re-vs-one
(version: 0)
Comparing performance of:
concat vs one by one vs concat test vs test one by one
Created:
9 years ago
by:
Registered User
Jump to the latest result
Script Preparation code:
var a = 'asrtarstarstarstarst'; var b = 'oienoienoienoienoin'; var c = 'arsoienaroistenaoristenaorisetnaorist'; var d = 'wfpqwfp;yuwflpywulfpywulfp'; var re = /abcdefg/i;
Tests:
concat
(a+b+c+d).search( re );
one by one
a.search(re) b.search(re) c.search(re) d.search(re)
concat test
re.test(a+b+c+d)
test one by one
re.test(a) re.test(b) re.test(c) re.test(d)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (4)
Previous results
Fork
Test case name
Result
concat
one by one
concat test
test one by one
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
LoDash Omit vs Destructured undefined 211
LoDash Omit vs Destructured undefined vs native delete
LoDash Omit vs Destructured undefined fixed
LoDash Omit vs Destructured undefined vs real native
LoDash Omit vs Destructured undefined vs delete
Comments
Confirm delete:
Do you really want to delete benchmark?