This adds a test that can be used to see the improvements made by this PR (if any): * https://github.com/emilk/egui/pull/5839