profuse icon indicating copy to clipboard operation
profuse copied to clipboard

fusedump: read packets lazily from the stream

Open djs55 opened this issue 7 years ago • 0 comments

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]

djs55 avatar Jan 23 '18 12:01 djs55