Skip to content

2023.720.0

Compare
Choose a tag to compare
@peppy peppy released this 20 Jul 11:02
· 1843 commits to master since this release
07236ad

What's Changed

  • Add option to avoid automatically running the first step in TestScenes 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