summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-12 09:12:38 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-12 09:12:38 +0000
commitd5abe72ccac9705a68868e6642a42c0425b121bc (patch)
treef597c84264ee9cd0eaf7ccad6d83fa5fb23bcae7 /benchmark
parent8c09664a94ed4e1bf043847b28e4567da845292b (diff)
* benchmark/bm_vm3_clearmethodcache.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/bm_vm3_clearmethodcache.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmark/bm_vm3_clearmethodcache.rb b/benchmark/bm_vm3_clearmethodcache.rb
new file mode 100644
index 0000000..ba45a60
--- /dev/null
+++ b/benchmark/bm_vm3_clearmethodcache.rb
@@ -0,0 +1,8 @@
+i=0
+while i<200_000
+ i+=1
+
+ Class.new{
+ def m; end
+ }
+end