mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* benchmark/bm_vm3_clearmethodcache.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c09664a94
commit
d5abe72cca
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Jun 12 18:12:07 2011 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* benchmark/bm_vm3_clearmethodcache.rb: added.
|
||||
|
||||
Sun Jun 12 17:40:29 2011 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_method.c (rb_clear_cache*): update only vm state version.
|
||||
|
|
8
benchmark/bm_vm3_clearmethodcache.rb
Normal file
8
benchmark/bm_vm3_clearmethodcache.rb
Normal file
|
@ -0,0 +1,8 @@
|
|||
i=0
|
||||
while i<200_000
|
||||
i+=1
|
||||
|
||||
Class.new{
|
||||
def m; end
|
||||
}
|
||||
end
|
Loading…
Add table
Reference in a new issue