MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.73k stars 121 forks source link

Reduced memory used and add option to skip notes #126

Closed ecamacho closed 3 years ago

ecamacho commented 3 years ago
  1. Use an autoreleasepool to deallocate promptly the content of a log after is tokenised
  2. Add an --omit_notes option to the parse command to address https://github.com/spotify/XCLogParser/issues/108

With the autoreleasepool the memory is deallocated faster, according to Instruments:

Before:

Screenshot 2021-02-21 at 16 11 33
Screenshot 2021-02-21 at 16 29 37

After

Screenshot 2021-02-21 at 16 10 22
Screenshot 2021-02-21 at 16 30 03