atomic-server
atomic-server copied to clipboard
Dropping Db is slow (leads to slow rust tests)
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