Skip to content

[Question] - RxJava performance verses coroutines  #21

Open
@ndori

Description

@ndori

I've noticed that the fastest coroutine variant runs in a ~5.6 seconds
however, the RxJava variant runs in ~2 seconds,

If I understand correctly,
RxJava runs every request on a different thread and holds it while the coroutine uses a looper to schedule all of the io on the same thread, saving space.

I've tried achieving better performance on coroutines to be in par with RxJava but failed,

can you better explain that? it seems to me that the RxJava variant is much better because of that (for time optimization).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions