yandex / scout

A fast and safe manual dependency injector for Kotlin and Android.
Apache License 2.0
102 stars 4 forks source link

Add rule: Factory should be defined undoubtedly #10

Closed acelost closed 9 months ago

github-actions[bot] commented 9 months ago
Benchmark                           Control       Test       Diff     Conclusion
CollectCall.listWith10Elements      123.918    127.528      +2.9%               
CollectCall.listWith1Element         30.521     30.199      -1.1%               
github-actions[bot] commented 9 months ago
Benchmark                                   Control       Test       Diff     Conclusion
AssociateCall.associationWith10Entries      419.775    419.502      -0.1%               
AssociateCall.associationWith1Entry          34.439     35.276      +2.4%               
github-actions[bot] commented 9 months ago
Benchmark              Control       Test       Diff     Conclusion
GetCall.factory          7.723      7.707      -0.2%               
GetCall.reusable         9.399      9.392      -0.1%               
GetCall.singleton        7.673      7.667      -0.1%               
github-actions[bot] commented 9 months ago
Benchmark                     Control       Test       Diff     Conclusion
InitScope.empty                82.230     81.251      -1.2%               
InitScope.with5Factories      181.246    179.987      -0.7%               
InitScope.with5Parents        417.668    426.681      +2.2%               
github-actions[bot] commented 9 months ago
Benchmark                 Control       Test       Diff     Conclusion
BuilderMode.confined      671.891    711.043      +5.8%          (BAD)
BuilderMode.synchro       218.560    220.314      +0.8%               
BuilderMode.unsafe        187.077    185.516      -0.8%               
github-actions[bot] commented 9 months ago
Benchmark                        Control       Test       Diff     Conclusion
ParentAccess.with1Parent          12.650     12.692      +0.3%               
ParentAccess.with2Depth           17.054     16.665      -2.3%               
ParentAccess.with3Depth           22.019     21.822      -0.9%               
ParentAccess.with5Parents         32.587     31.513      -3.3%               
ParentAccess.withoutParents        6.583      6.576      -0.1%