Descriptionclovis: Add a method to slim a trace by dropping large objects.
JSON is less expensive than objects for trace events. A ~45MB trace file
expands to more than 500MB of memory. This CL adds a method to return
the trace to its JSON format. This increases the peak memory usage when
processing a single trace (and the processing time, since serializing
the trace is not free), but reduces the total memory cost when holding
several traces at once.
Committed: https://crrev.com/65f484b3674d177e98ed04aa2ec30482e05a6c3a
Cr-Commit-Position: refs/heads/master@{#384548}
Patch Set 1 #Patch Set 2 : . #Messages
Total messages: 8 (3 generated)
|