Hello everyone. Some people in my team asked me fo...
# coroutines
c
Hello everyone. Some people in my team asked me for some performance numbers between coroutines and RxJava so I wrote this little app to measure performance between the two. https://github.com/CRamsan/coroutine-rx-performance I hope this is useful for people here. But the gist of what I found is that Coroutines can be a bit slower compared to Rx. But RxJava memory consumption is much higher. For me, this is another strong argument for coroutines.
p
You should look into androidx benchmark if you are collecting benchmark metrics
1
m
Don't you mean kotlinx.benchmark? androidx obviously sounds android specific
p
As you have written the benchmark in an Android App your benchmark is android specific
m
Oh ok, the repo is android too.