mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Add an additional test to module_eqq
This commit is contained in:
parent
203199251f
commit
9b8c846bdf
Notes:
git
2025-05-13 02:05:31 +00:00
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
prelude: |
|
||||
module SomeModule; end
|
||||
class SimpleClass; end
|
||||
class MediumClass
|
||||
10.times { include Module.new }
|
||||
|
@ -24,4 +25,8 @@ benchmark:
|
|||
SimpleClass === LargeObj
|
||||
simple_class_eqq_huge_obj: |
|
||||
SimpleClass === HugeObj
|
||||
loop_count: 20000000
|
||||
simple_class_eqq_module: |
|
||||
SimpleClass === HugeObj
|
||||
module_eqq_module: |
|
||||
SomeModule === HugeObj
|
||||
loop_count: 10000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue