Skip to content
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

[mono][perf] iOS Mono HelloWorld startup regression #96449

Closed
matouskozak opened this issue Jan 3, 2024 · 9 comments
Closed

[mono][perf] iOS Mono HelloWorld startup regression #96449

matouskozak opened this issue Jan 3, 2024 · 9 comments
Labels
area-Infrastructure-mono os-ios Apple iOS perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Jan 3, 2024

Description

Mono regressed in startup times after updating OSX version to osx.13 (4dffd80).

Update: at the same time, xcode and iOS were updated to versions 15 and 17, respectively.

Date Diff Change Slowdown (ms) Slowdown (%)
16 Dec 2023 2284495...4dffd80 4dffd80 8.3 18.8

image

Affected scenarios:

  • iOS Mono
  • iOS nativeAOT
  • MAUI (TBC - perf measurements not working)

cc: @ivanpovazan @LoopedBard3
fyi: @SamMonoRT @akoeplinger @kotlarmilos

@matouskozak matouskozak added area-Infrastructure-mono perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines labels Jan 3, 2024
@ghost
Copy link

ghost commented Jan 3, 2024

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Mono regressed in startup times after updating OSX to osx.13 (4dffd80)

Date Diff Change Slowdown (ms) Slowdown (%)
16 Dec 2023 2284495...4dffd80 4dffd80 8.3 18.8

image

Affected scenarios:

  • iOS Mono
  • iOS nativeAOT
  • MAUI (TBC - perf measurements not working)

cc: @ivanpovazan @LoopedBard3
fyi: @SamMonoRT @akoeplinger @kotlarmilos

Author: matouskozak
Assignees: -
Labels:

area-Infrastructure-mono, perf-pipeline

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 3, 2024
@SamMonoRT
Copy link
Member

cc @rolfbjarne fyi - this seems like an OS upgrade causing the regression.

@SamMonoRT SamMonoRT added this to the 9.0.0 milestone Jan 3, 2024
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jan 3, 2024
@SamMonoRT SamMonoRT added the os-ios Apple iOS label Jan 3, 2024
@ghost
Copy link

ghost commented Jan 3, 2024

Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

Mono regressed in startup times after updating OSX version to osx.13 (4dffd80)

Date Diff Change Slowdown (ms) Slowdown (%)
16 Dec 2023 2284495...4dffd80 4dffd80 8.3 18.8

image

Affected scenarios:

  • iOS Mono
  • iOS nativeAOT
  • MAUI (TBC - perf measurements not working)

cc: @ivanpovazan @LoopedBard3
fyi: @SamMonoRT @akoeplinger @kotlarmilos

Author: matouskozak
Assignees: -
Labels:

area-Infrastructure-mono, os-ios, perf-pipeline

Milestone: 9.0.0

@rolfbjarne
Copy link
Member

Is this testing on an actual device? Because it would be really weird for the macOS version used to build the app would affect the launch performance of the app on the device.

@matouskozak
Copy link
Member Author

Is this testing on an actual device? Because it would be really weird for the macOS version used to build the app would affect the launch performance of the app on the device.

I believe the test are running on real iPhones in the lab (@LoopedBard3 correct me if I am wrong).

@LoopedBard3
Copy link
Member

Yes, these tests are running on the devices themselves. At the same time we updated to OSX.13 and to xcode 15, we also updated to the iOS devices to run iOS 17.

@rolfbjarne
Copy link
Member

Not sure if there's anything for us to do here, since this seems to be a regression in iOS itself.

@matouskozak
Copy link
Member Author

@LoopedBard3 Not sure what happened, but the measurements in the lab started to get quite noisy for these devices
image

@matouskozak
Copy link
Member Author

matouskozak commented Feb 27, 2024

Based on the latest information, the regression is still present and most likely caused by the OS version updated. The previous graphs were showing measurements of two devices with different configurations combined. After studying the measurements individually, we can see that the root cause is most likely the OS version change. The devices in the graph below are using the following configuration:
Perfios-01/Mac044: 17.0.2 build 21A351
Perfios-02/Mac045: 14.2.1 build 18B121
image

@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-mono os-ios Apple iOS perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines
Projects
None yet
Development

No branches or pull requests

4 participants