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

Reduce Query Of Data To Only Things We Need For The Respective Loads #137

Closed
R-K-H opened this issue Jun 2, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@R-K-H
Copy link
Member

R-K-H commented Jun 2, 2024

There is no need to load DAOs with all the proposals with all their market data only to then load all the market data on load again for the chart.

@R-K-H R-K-H added this to Futarchy Jun 2, 2024
@R-K-H R-K-H converted this from a draft issue Jun 2, 2024
@R-K-H R-K-H added the bug Something isn't working label Jun 2, 2024
@R-K-H
Copy link
Member Author

R-K-H commented Jun 3, 2024

#138

Have this in progress needs the piping and typing ;)

If we use this and only load the chart data ON the page, then we end up with 2MB load vs the 20+ (100MB+ overall load)

For comparison 200MB on birdeye, but still we can do better.

@R-K-H R-K-H moved this from Todo to In Progress in Futarchy Jun 3, 2024
@R-K-H R-K-H moved this from In Progress to In Review in Futarchy Jun 4, 2024
@LukasDeco LukasDeco moved this from In Review to Done in Futarchy Jun 4, 2024
@R-K-H R-K-H closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant