Open rolfbjarne opened 6 years ago
Beside binaries (like mono and F#) but before optimizing any code I think we need a pie chart (or the data to make one) of where the time is spent, even if made without -jX
, in comparison with the total build time.
That will also give us a baseline to see the % gain of using mono binaries in the build.
This is a list of ideas that can make our build faster.
[ ] A big chunk of time in src/ is spent in the generator, which we’ve never optimized. It might be worth it to spend some time profiling if there are any easy things to improve/fix. Building all of src/ takes ~5:53 on the bots (1:27 for me locally) Locally running the generator for all platforms takes 36s (~40% of the total time):
Bot timings are from https://jenkins.mono-project.com/view/Xamarin.MaciOS/job/xamarin-macios-pr-builder/8386/consoleFull.