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

Dropping Db is slow (leads to slow rust tests) #978

Open
joepio opened this issue Oct 7, 2024 · 0 comments
Open

Dropping Db is slow (leads to slow rust tests) #978

joepio opened this issue Oct 7, 2024 · 0 comments
Labels
lib rust atomic-lib (rust)

Comments

@joepio
Copy link
Member

joepio commented Oct 7, 2024

I noticed many rust tests being very slow. All of these are tests where a Db instance is spawned (through Db:init_temp). After some testing the culprit seems to be the act of dropping the Db.

cargo nextest run should_update --no-capture

test db::query_index::test::should_update_or_not ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 84 filtered out; finished in 4.06s
@joepio joepio added the lib rust atomic-lib (rust) label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib rust atomic-lib (rust)
Projects
None yet
Development

No branches or pull requests

1 participant