summaryrefslogtreecommitdiff
path: root/benchmark/vm3_gc_old_immediate.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm3_gc_old_immediate.yml')
-rw-r--r--benchmark/vm3_gc_old_immediate.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark/vm3_gc_old_immediate.yml b/benchmark/vm3_gc_old_immediate.yml
new file mode 100644
index 0000000..3aea9c0
--- /dev/null
+++ b/benchmark/vm3_gc_old_immediate.yml
@@ -0,0 +1,7 @@
+benchmark:
+ vm3_gc_old_immediate: |
+ old_object = Array.new(1_000_000){''}
+ 30_000.times do
+ GC.start(full_mark: false, immediate_sweep: true)
+ end
+loop_count: 1