Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Output] Build Timing Summary #244

Open
MattFoley opened this issue Jan 27, 2024 · 1 comment
Open

[New Output] Build Timing Summary #244

MattFoley opened this issue Jan 27, 2024 · 1 comment

Comments

@MattFoley
Copy link

MattFoley commented Jan 27, 2024

What's the uncaptured output?

Build Timing Summary

CompileC (2 tasks) | 0.078 seconds

RegisterExecutionPolicyException (1 task) | 0.008 seconds

WriteAuxiliaryFile (10 tasks) | 0.005 seconds

ProcessInfoPlistFile (1 task) | 0.004 seconds

Libtool (1 task) | 0.002 seconds

Touch (1 task) | 0.001 seconds

CpHeader (1 task) | 0.001 seconds

Copy (1 task) | 0.001 seconds

** BUILD SUCCEEDED **

Suggested Regex

(Build Timing Summary[\s\S]*)** BUILD SUCCEEDED **

Suggested Output

You could just output the capture group above as one output using your standard line formatter. It's short, and could be very helpful.

Additional Context

It would be really helpful for monitoring build performance, right now these lines are not output by xcbeautify. These lines are added when passing "-showBuildTimingSummary" to xcodebuild

@MattFoley MattFoley changed the title [New Output] [New Output] Build Timing Summary Jan 27, 2024
@cpisciotta
Copy link
Owner

Hey @MattFoley! Thanks for filling this. I'm working to release version 2.0.0 (expected this week). After 2.0.0, I plan to refactor the read logic, so xcbeautify can better capture multiline output like this. I'll keep you updated!

In the meantime, you might find it helpful to pass the --preserve-unbeautified flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants