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

fusedump: read packets lazily from the stream #83

Open
wants to merge 1 commit into
base: 0.4.0-gamma
Choose a base branch
from

Conversation

djs55
Copy link

@djs55 djs55 commented Jan 23, 2018

Previously the packets were all read into a list which required a lot of memory for long traces. This patch reads the packets lazily from the stream, just in time to pretty-print them. This reduces the memory footprint of fusedump and removes the initial start-up delay where previously the whole file was parsed.

Signed-off-by: David Scott [email protected]

Previously the packets were all read into a list which required a
lot of memory for long traces. This patch reads the packets lazily
from the stream, just in time to pretty-print them. This reduces the
memory footprint of fusedump and removes the initial start-up delay
where previously the whole file was parsed.

Signed-off-by: David Scott <[email protected]>
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