Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance improvements: Reduce memory usage #22

Merged
merged 14 commits into from
Sep 12, 2023
Merged

Conversation

chanshing
Copy link
Member

No description provided.

@chanshing chanshing force-pushed the perf/memory-usage branch 4 times, most recently from 18ad8c7 to c3e68e8 Compare September 6, 2023 16:50
@chanshing chanshing force-pushed the perf/memory-usage branch 2 times, most recently from 46247a5 to 99931c4 Compare September 12, 2023 15:09
Reduce memory usage of lowpass_hz with chunking & memmap.

BREAKING CHANGE: No longer resamples the signal as it's too expensive.
Reduce memory usage with chunking & memmap.
Unextract process() call to reduce obj ref count to reduce mem usage.
Use subsampled stationary_indicator to reduce memory usage.

BREAKING CHANGE: subsampled stationary_indicator produces marginally
different results.
More careful mmap to frame conversion to reduce memory usage.

BREAKING CHANGE: Drop fix_nonincr_time as too expensive and it's almost
never applicable. TODO: Do this from the parser?
Use subsampled stationary_indicator to reduce memory usage.

BREAKING CHANGE: Subsampled stationary_indicator gives marginally
different results.
@chanshing chanshing merged commit aed92ce into master Sep 12, 2023
@chanshing chanshing deleted the perf/memory-usage branch April 12, 2024 06:02
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