michaelbull / kotlin-result

A multiplatform Result monad for modelling success or failure operations.
ISC License
1.02k stars 57 forks source link

add separate benchmark to compare the different implementations of binding #27

Closed Munzey closed 3 years ago

Munzey commented 4 years ago

Basically shows that the binding function has same performance for both implementations (except of course if we use async in the coroutines version, which I added for reference).

Munzey commented 4 years ago

I'll come back to this once #29 is resolved

michaelbull commented 3 years ago

Hi @Munzey, are there any plans to return to this PR or can we close it for now?

Munzey commented 3 years ago

hey @michaelbull yes was planning to come back to this, its just blocked by #38 which there is a pr up now #41. Obv #41 hasn't gotten much attention lately so will see if I can get that moving - otherwise yeah maybe we look to close this out end of the week?

michaelbull commented 3 years ago

Merged in e1fd6387e58fcdb24d09dbbde4bda47ada9c850c

Preview of benchmarks:

image