summaryrefslogtreecommitdiff
path: root/benchmark/vm3_clearmethodcache.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm3_clearmethodcache.yml')
-rw-r--r--benchmark/vm3_clearmethodcache.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmark/vm3_clearmethodcache.yml b/benchmark/vm3_clearmethodcache.yml
new file mode 100644
index 0000000..63dea7a
--- /dev/null
+++ b/benchmark/vm3_clearmethodcache.yml
@@ -0,0 +1,11 @@
+benchmark:
+ vm3_clearmethodcache: |
+ i = 0
+ while i<200_000
+ i += 1
+
+ Class.new{
+ def m; end
+ }
+ end
+loop_count: 1