summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_regexp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm2_regexp.rb')
-rw-r--r--benchmark/bm_vm2_regexp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm2_regexp.rb b/benchmark/bm_vm2_regexp.rb
index 428099e55a..07e12dc477 100644
--- a/benchmark/bm_vm2_regexp.rb
+++ b/benchmark/bm_vm2_regexp.rb
@@ -1,4 +1,4 @@
-i=0
+i = 0
str = 'xxxhogexxx'
while i<6_000_000 # benchmark loop 2
/hoge/ =~ str