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

Performance: Optimize sub-queries for assets/apps against a given address. #1615

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Jun 6, 2024

Summary

Adopting the suggestions in #1595 , this PR aims to give significant speed ups in average query time by shrinking subquery app/asset result sets.

Test Plan

Existing unit/integration tests should all pass.

@gmalouf gmalouf added the Enhancement New feature or request label Jun 6, 2024
@gmalouf gmalouf self-assigned this Jun 6, 2024
@gmalouf gmalouf requested a review from jasonpaulos June 6, 2024 15:02
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 14 lines in your changes missing coverage. Please review.

Project coverage is 68.69%. Comparing base (b019536) to head (8a10650).

Files Patch % Lines
idb/postgres/postgres.go 0.00% 13 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1615      +/-   ##
==========================================
- Coverage   68.80%   68.69%   -0.11%     
==========================================
  Files          38       38              
  Lines        7517     7529      +12     
==========================================
  Hits         5172     5172              
- Misses       1915     1926      +11     
- Partials      430      431       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gmalouf gmalouf merged commit 26b4eff into algorand:main Jun 6, 2024
5 of 6 checks passed
@gmalouf gmalouf deleted the account-query-optimization branch June 6, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants