Listing files from bundle database seems awfully slow #196
Labels
No labels
ci
crate/dtmm
crate/dtmt
crate/sdk
crate/serde_sjson
kind
bug
kind
documentation
kind
enhancement
kind
feature
kind
question
kind
upstream
part/bundle
part/filetype
stage
actionable
stage
design
stage
proposal
status/duplicate
status/good first issue
status/help wanted
status/invalid
status
need-replicate
status/wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: bitsquid_dt/dtmt#196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
A release build goes up to 330 KiB/s at least, but I still feel like MiB/s should be possible.