spotify / XCMetrics

XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.
https://xcmetrics.io
Other
1.1k stars 77 forks source link

How to retain only the most basic and core data? Such as build time/cpu/memory, full/incremental compilation and other data. #114

Closed Jinxiansen closed 5 months ago

Jinxiansen commented 5 months ago

Hi, guys We have an iOS project with millions of lines and more than 6000+ warning messages. Each compilation will generate a lot of logs. I tried compiling locally several times and generated more than 300M of data. We have dozens of iOS members and if they will all Uploading this data every time to the server will generate a lot of traffic and storage pressure.

Therefore, I want to know if there is any way for us to record only the most basic and core data, such as build time/cpu/memory, full/incremental compilation and other data. Discarding overly detailed data such as each step/warning information will greatly reduce and save the pressure on the deployed server.

In addition, the .xcactivitylog file exceeds 20MB and uploading will be time-consuming. Do we have any compression solution?

image

That's just about one-tenth of the traffic, which is already so much.

image