Skip to content

Optimise dotnet build time #14

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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 Dec 25, 2024
@ross-mcnairn-dev ross-mcnairn-dev changed the title Optimise dotnet builds Dec 25, 2024
@JSv4
Copy link
Owner

JSv4 commented Feb 26, 2025

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

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