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

Bad performance when number of tweet account increasing by time #18

Open
docongminh opened this issue Jun 29, 2023 · 0 comments
Open

Bad performance when number of tweet account increasing by time #18

docongminh opened this issue Jun 29, 2023 · 0 comments

Comments

@docongminh
Copy link

When many users create tweets. tweetAccounts will be increasing over time. it's leads to bad performance when you fetch all tweet accounts (for example scrolling tweets)

it('can fetch all tweets', async () => {
const tweetAccounts = await program.account.tweet.all();
assert.equal(tweetAccounts.length, 3);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant