diff options
Diffstat (limited to 'benchmark/bm_vm1_gc_short_lived.rb')
-rw-r--r-- | benchmark/bm_vm1_gc_short_lived.rb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/benchmark/bm_vm1_gc_short_lived.rb b/benchmark/bm_vm1_gc_short_lived.rb index 2bdb6ff932..e78bca5668 100644 --- a/benchmark/bm_vm1_gc_short_lived.rb +++ b/benchmark/bm_vm1_gc_short_lived.rb @@ -1,10 +1,10 @@ -i = 0
-while i<30_000_000 # while loop 1
- a = '' # short-lived String
- b = ''
- c = ''
- d = ''
- e = ''
- f = ''
- i+=1
-end
+i = 0 +while i<30_000_000 # while loop 1 + a = '' # short-lived String + b = '' + c = '' + d = '' + e = '' + f = '' + i+=1 +end |