Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is our lightclient slower than PAPIs? Let's check! #1911

Open
jsdw opened this issue Jan 28, 2025 · 0 comments
Open

Is our lightclient slower than PAPIs? Let's check! #1911

jsdw opened this issue Jan 28, 2025 · 0 comments
Labels
solution-engineer This issue is a good candidate for a solutions engineer

Comments

@jsdw
Copy link
Collaborator

jsdw commented Jan 28, 2025

This comment came up on our Matrix Subxt Lounge room:

I played a bit last year with yew and subxt using the light-client feature, end up doing this small dapp https://www.goclaimit.app/?chain=polkadot&lc=true

Compared to PAPI, the app takes much more time to initiate the smoldot client before it can be used to fetch data example https://bounties.usepapi.app/

Let's check this; we both use Smoldot so I can't see a good reason why one would be any different from the other here.

One way to check this is to make a Small Subxt example using the lightclient to do something, and make the same example in PAPI, and then time how long they both take. if there's an obvious difference then we'd need to work out which part of the script is taking the time and why.

@jsdw jsdw added the solution-engineer This issue is a good candidate for a solutions engineer label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution-engineer This issue is a good candidate for a solutions engineer
Projects
None yet
Development

No branches or pull requests

1 participant