summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/string_split.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmark/string_split.yml b/benchmark/string_split.yml
index ac6ed0d72f..cc2c7d7855 100644
--- a/benchmark/string_split.yml
+++ b/benchmark/string_split.yml
@@ -12,6 +12,10 @@ benchmark:
to_words-10: str10.split(' ')
to_words-100: str100.split(' ')
to_words-1000: str1000.split(' ')
+ re_chars-1: str1.split(//)
+ re_chars-10: str10.split(//)
+ re_chars-100: str100.split(//)
+ re_chars-1000: str1000.split(//)
re_space-1: str1.split(/ /)
re_space-10: str10.split(/ /)
re_space-100: str100.split(/ /)