Skip to content

perf: reduce computeMatrix memory use when filtering and sorting - #1484

Open
DylanCosto wants to merge 2 commits into
deeptools:masterfrom
DylanCosto:perf/computematrix-memory
Open

DylanCosto wants to merge 2 commits into
deeptools:masterfrom
DylanCosto:perf/computematrix-memory

Conversation

@DylanCosto

Copy link
Copy Markdown

Move matrix row buffers during filtering and sorting instead of copying them.

Peak memory fell 31% on real ENCODE data (447 → 308 MiB) and 35% on a larger synthetic workload (732 → 476 MiB). Measurements are medians of three runs. All compared compressed outputs matched byte for byte; runtime was roughly unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant