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

Benchmarks #16

Merged
merged 7 commits into from Apr 3, 2022
Merged

Benchmarks #16

merged 7 commits into from Apr 3, 2022

Conversation

ysimonson
Copy link
Owner

@ysimonson ysimonson commented Apr 3, 2022

Initial results:

test memory::benches::iter          ... bench:       8,904 ns/iter (+/- 372)
test memory::benches::push          ... bench:          53 ns/iter (+/- 5)
test memory::benches::push_parallel ... bench:   6,643,523 ns/iter (+/- 490,757)
test sqlite::benches::iter          ... bench:     182,264 ns/iter (+/- 17,654)
test sqlite::benches::push          ... bench:   8,659,845 ns/iter (+/- 3,747,654)
test sqlite::benches::push_parallel ... FAILED

Sqlite is expected to run much slower since it's syncing to disk. push_parallel is currently failing because of heavy write contention causing DatabaseBusy errors. This should be addressable with wal2 mode + some other tweaks.

@ysimonson ysimonson merged commit cfe7a63 into main Apr 3, 2022
@ysimonson ysimonson deleted the benches branch April 3, 2022 20:29
@ysimonson ysimonson mentioned this pull request Apr 3, 2022
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.

None yet

1 participant