mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +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: |
|
prelude: |
|
||||||
|
module SomeModule; end
|
||||||
class SimpleClass; end
|
class SimpleClass; end
|
||||||
class MediumClass
|
class MediumClass
|
||||||
10.times { include Module.new }
|
10.times { include Module.new }
|
||||||
|
@ -24,4 +25,8 @@ benchmark:
|
||||||
SimpleClass === LargeObj
|
SimpleClass === LargeObj
|
||||||
simple_class_eqq_huge_obj: |
|
simple_class_eqq_huge_obj: |
|
||||||
SimpleClass === HugeObj
|
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