Skip to content

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

Open
@joepio

Description

@joepio

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

Metadata

Metadata

Assignees

Labels

lib rustatomic-lib (rust)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions