Listing files from bundle database seems awfully slow #196

Open
opened 2024-09-03 18:19:08 +02:00 by lucas · 1 comment
Owner

dtmt bundle db list-files | pv -trab > /dev/null shows less than 100 KiB/s.
Given that the whole database needs to be parsed into memory before writing can even begin, this seems extremely slow for simply writing out from memory.

Probably some serious mishap with allocations. Will need to profile.

`dtmt bundle db list-files | pv -trab > /dev/null` shows less than 100 KiB/s. Given that the whole database needs to be parsed into memory before writing can even begin, this seems extremely slow for simply writing out from memory. Probably some serious mishap with allocations. Will need to profile.
lucas added the
kind
bug
crate/dtmt
status/good first issue
labels 2024-09-03 18:19:08 +02:00
Author
Owner

A release build goes up to 330 KiB/s at least, but I still feel like MiB/s should be possible.

A release build goes up to 330 KiB/s at least, but I still feel like MiB/s should be possible.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: bitsquid_dt/dtmt#196
No description provided.