What's Changed
- Add option to avoid automatically running the first step in
TestScene
s by @Susko3 in #5935 - Change source generators to only run for release builds by @peppy in #5938
Breaking Changes
Source generators will now only run on release builds
As we continue to add more source generators, we've seen increases in compile-time overheads, with local testing showing over 2x compile times with source generators turned on.
osu!framework source generators are made to optimise builds at runtime (mostly by removing reflection overhead). As such, it doesn't make sense to run these for debug releases as they are basically custom release-targeting optimisations.
This should not result in a noticeable change in runtime performance during debug, but will reduce compilation times by over 50% in most cases. This is valuable during debug as the most common case is frequently building / hot reloading for quick iteration.
Full Changelog: 2023.716.0...2023.720.0