Skip to content

Conversation

@ross-mcnairn-dev
Copy link
Contributor

@ross-mcnairn-dev ross-mcnairn-dev commented Dec 25, 2024

When building the package, we can publish dotnet artefacts in parallel procs, and we can run IO-bound compression in parallel threads. This provides roughly a 30-35 second decrease in execution time on my new MBP.

Before:
python build_differ.py 41.88s user 1.93s system 101% cpu 43.191 total

Now:
python build_differ.py 53.09s user 3.63s system 484% cpu 11.706 total

@ross-mcnairn-dev ross-mcnairn-dev changed the title Build optimisations Optimise dotnet builds Dec 25, 2024
@ross-mcnairn-dev ross-mcnairn-dev changed the title Optimise dotnet builds Optimise dotnet build time Dec 25, 2024
@JSv4
Copy link
Owner

JSv4 commented Feb 26, 2025

Sweet! Sorry, juusst seeing this. Will test :-)

@ross-mcnairn-dev
Copy link
Contributor Author

Hey @JSv4 let's drop this - we've noticed sporadic build failures that seem to be caused by a race condition. I haven't had time to properly debug, but for now we're pointing back to the repo here and accepting the higher build times.

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

Labels

None yet

2 participants