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

[Database] Investigate why Pebble batch updates is slower than Badger #6825

Open
Tracked by #6516
zhangchiqing opened this issue Dec 19, 2024 · 1 comment
Open
Tracked by #6516
Assignees

Comments

@zhangchiqing
Copy link
Member

Problem Definition

The benchmark here shows the pebble's batch writes update is much slower than badger's. Investigate it.

cd storage/operation

go test -bench=BenchmarkUpsert
goos: darwin
goarch: arm64
pkg: github.com/onflow/flow-go/storage/operation
BenchmarkUpsert/BadgerStorage-10                   31804             35173 ns/op
BenchmarkUpsert/PebbleStorage-10                     270           4267359 ns/op
PASS
ok      github.com/onflow/flow-go/storage/operation     4.886s
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