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

Batch transaction inserts when building a block #1945

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

JamesHinshelwood
Copy link
Contributor

@JamesHinshelwood JamesHinshelwood commented Dec 3, 2024

Benchmark with this PR + #1942

produce-full/produce-full
                        time:   [1.6839 s 1.7362 s 1.7660 s]
                        thrpt:  [0.5662  elem/s 0.5760  elem/s 0.5938  elem/s]
                 change:
                        time:   [-55.243% -52.889% -50.495%] (p = 0.00 < 0.05)
                        thrpt:  [+102.00% +112.26% +123.43%]
                        Performance has improved.

Before:
flamegraph

After:
flamegraph

@DrZoltanFazekas DrZoltanFazekas added this pull request to the merge queue Dec 3, 2024
Merged via the queue into main with commit 6549ca3 Dec 3, 2024
5 checks passed
@DrZoltanFazekas DrZoltanFazekas deleted the batch-tx-writes branch December 3, 2024 11:57
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