Skip to content

1.5.0 (Beta 1)

Pre-release
Pre-release
Compare
Choose a tag to compare
@cpisciotta cpisciotta released this 25 Feb 19:54
Drastically Improve Speed and Memory Performance (#253)

Drastically improve xcbeautify's performance (time and memory). Testing with a large xcodebuild log, this change dropped xcbeautify's execution time by ~90% and memory footprint by ~99%.

- Reduce unnecessary type instantiations, namely NSRegularExpression.
- Skip parsing empty lines.
- Introduce time-tracking logic and large xcodebuild log test to (1) find and fix the existing issue and (2) prevent future performance regressions.

See testing results [here](https://github.com/cpisciotta/xcbeautify/pull/253).