yandex / scout

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

CI Benchmarks #4

Closed acelost closed 1 year ago

acelost commented 1 year ago

CI checks: Add benchmark run for main vs current

github-actions[bot] commented 1 year ago

👋 Thanks for reporting!

github-actions[bot] commented 1 year ago
Benchmark                       Control       Test       Diff     Conclusion
GetCallBenchmark.factory          7.645      7.666      +0.3%               
GetCallBenchmark.reusable        10.298     10.486      +1.8%               
GetCallBenchmark.singleton        8.268      8.231      -0.4%               
github-actions[bot] commented 1 year ago
${results}
github-actions[bot] commented 1 year ago
Benchmark              Control       Test       Diff     Conclusion
GetCall.factory          7.581      7.766      +2.4%               
GetCall.reusable         9.775      9.854      +0.8%               
GetCall.singleton        8.431      8.600      +2.0%               
github-actions[bot] commented 1 year ago
Benchmark              Control       Test       Diff     Conclusion
GetCall.factory          6.531      6.552      +0.3%               
GetCall.reusable         9.249      9.072      -1.9%               
GetCall.singleton        7.599      7.582      -0.2%               
github-actions[bot] commented 1 year ago
Benchmark                                   Control       Test       Diff     Conclusion
AssociateCall.associationWith10Entries      584.024    580.359      -0.6%               
AssociateCall.associationWith1Entry          46.561     46.463      -0.2%               
BuilderMode.confined                        839.901    826.414      -1.6%               
BuilderMode.synchro                         227.991    234.471      +2.8%               
BuilderMode.unsafe                          191.779    198.865      +3.7%               
CollectCall.listWith10Elements              149.198    149.942      +0.5%               
CollectCall.listWith1Element                 34.546     35.049      +1.5%               
GetCall.factory                               8.301      8.406      +1.3%               
GetCall.reusable                             11.635     11.746      +1.0%               
GetCall.singleton                            10.014     10.171      +1.6%               
InitScope.empty                              81.920     80.797      -1.4%               
InitScope.with5Factories                    199.546    196.409      -1.6%               
InitScope.with5Parents                      486.061    478.371      -1.6%               
ParentAccess.with1Parent                     14.631     14.777      +1.0%               
ParentAccess.with2Depth                      21.044     21.625      +2.8%               
ParentAccess.with3Depth                      26.492     27.917      +5.4%          (BAD)
ParentAccess.with5Parents                    37.732     39.054      +3.5%               
ParentAccess.withoutParents                   8.387      8.740      +4.2%               
github-actions[bot] commented 1 year ago
Benchmark                                   Control       Test       Diff     Conclusion
AssociateCall.associationWith10Entries      478.838    475.899      -0.6%               
AssociateCall.associationWith1Entry          42.049     44.317      +5.4%          (BAD)
CollectCall.listWith10Elements              126.381    127.986      +1.3%               
CollectCall.listWith1Element                 31.419     30.815      -1.9%               
GetCall.factory                               7.695      7.701      +0.1%               
GetCall.reusable                              9.396      9.407      +0.1%               
GetCall.singleton                             7.712      7.679      -0.4%               
github-actions[bot] commented 1 year ago
Benchmark                        Control       Test       Diff     Conclusion
BuilderMode.confined             727.372    667.428      -8.2%         (GOOD)
BuilderMode.synchro              217.405    202.359      -6.9%         (GOOD)
BuilderMode.unsafe               192.185    188.199      -2.1%               
InitScope.empty                   79.302     79.522      +0.3%               
InitScope.with5Factories         196.258    187.092      -4.7%               
InitScope.with5Parents           487.313    490.582      +0.7%               
ParentAccess.with1Parent          15.459     15.775      +2.0%               
ParentAccess.with2Depth           22.947     22.982      +0.2%               
ParentAccess.with3Depth           29.853     29.984      +0.4%               
ParentAccess.with5Parents         41.617     42.131      +1.2%               
ParentAccess.withoutParents        9.253      9.295      +0.5%