Skip to content

utils: improve timing data collection for build.ps1 #80152

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

Merged
merged 3 commits into from
Mar 20, 2025

Conversation

compnerd
Copy link
Member

Some minor tweaks to differentiate the build and test steps and to collect the timing information for both sets. This gives higher fidelity information about where the build time is going.

The timing data collection is now homed under `Invoke-BuildStep`.
`Build-SPMProject` is an implementation detail of the build step and is
timed at a higher level.
Add time collection for the test execution. This will allow us to
immediately see in the summary the time expenditure.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd
Copy link
Member Author

@swift-ci please smoke test

@compnerd compnerd enabled auto-merge March 20, 2025 05:29
@compnerd compnerd merged commit 1ba7b6a into swiftlang:main Mar 20, 2025
3 checks passed
@compnerd compnerd deleted the timing branch March 20, 2025 10:12
@xavgru12
Copy link

Hey @compnerd , why is Windows not using the build script?

@compnerd
Copy link
Member Author

@xavgru12 - bash + python is not a portable combination. It would be better to migrate the other platforms to build.ps1.

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

Successfully merging this pull request may close these issues.

2 participants