Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Calling conversations.list() is SLOW #13

@nmalzieu

Description

@nmalzieu

Thanks for this lib and this sample app!

However, I'm having really bad performance with it, do you know if that's normal?

A classic conversations.list() usually takes 2-3 seconds when in the browser or NodeJS.
But in the react native environment it takes 42 seconds in the simulator and 58 seconds on my iPhone!

Using the wallet created in app (that's empty) it is almost immediate
Using my own wallet that has 7 conversations on the testnet it takes a very long time

Here is an example code diff to show you what I did in the app (pretty straightforward) : main...nmalzieu:xmtp-react-native:main

Do tell me if you want more information or if we should hop on a call to debug together

Capture d’écran 2023-01-03 à 09 54 09
IMG_39EEFC00306A-1 (1)

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