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

tweak performance #1912

Merged
merged 1 commit into from
May 14, 2024
Merged

tweak performance #1912

merged 1 commit into from
May 14, 2024

Conversation

tudor-malene
Copy link
Collaborator

Why this change is needed

There is a performance degradation when inserting l1 blocks.
Most likely because the canonical update query does not properly use the indexes.

What changes were made as part of this PR

Optimize the block insertion.

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Collaborator

@BedrockSquirrel BedrockSquirrel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tudor-malene tudor-malene merged commit 42dc7f8 into main May 14, 2024
3 checks passed
@tudor-malene tudor-malene deleted the tudor/perf_tweaks branch May 14, 2024 12:30
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

Successfully merging this pull request may close these issues.

2 participants