tokopedia / RxComposableArchitecture

RxComposableArchitecture is a forked of Composable Architecture with adjustment to make it work with UIKit.
Apache License 2.0
31 stars 5 forks source link

Add benchmark #56

Closed adityadaniel closed 2 years ago

adityadaniel commented 2 years ago

Add benchmark as seen in original TCA repo

Benchmark result:

name                                        time          std        iterations
-------------------------------------------------------------------------------
Effects.Merged Effect.none (create, flat)    30500.000 ns ±   3.65 %      44784
Effects.Merged Effect.none (create, nested)  61417.000 ns ±   2.59 %      22549
Effects.Merged Effect.none (sink)           109334.000 ns ±   7.90 %      12611
Store scoping.Nested store                   21334.000 ns ±   4.21 %      65308
[NEW] Store scoping.[NEW] Nested store       16500.000 ns ±   3.76 %      84861