Skip to content

Conversation

@jonathanpeppers
Copy link
Member

First, I had to update the URL we test, because it was down:

https://httpstat.us/200

Instead, I used:

https://httpbin.org/status/200

Next, after reviewing the latest methods in the profile, I noticed a lot of timezone logic was completely removed. This might be related to different cookies returns from the new URL, not sure.

I added a DateTime.Now call to CommonMethods.cs, to ensure the timezone logic is in the AOT profile.

Testing a dotnet new android app on a Pixel 5, an average of 10 runs of the "displayed time`:

Average(ms): 179.1
Std Err(ms): 2.53179778023443
Std Dev(ms): 8.00624756049924

First, I had to update the URL we test, because it was down:

https://httpstat.us/200

Instead, I used:

https://httpbin.org/status/200

Next, after reviewing the latest methods in the profile, I noticed a lot
of timezone logic was completely removed. This might be related to
different cookies returns from the new URL, not sure.

I added a `DateTime.Now` call to `CommonMethods.cs`, to ensure the
timezone logic is in the AOT profile.

Testing a `dotnet new android` app on a Pixel 5, an average of 10 runs
of the "displayed time`:

    Average(ms): 179.1
    Std Err(ms): 2.53179778023443
    Std Dev(ms): 8.00624756049924
@jonpryor jonpryor merged commit a82a578 into dotnet:main Oct 17, 2023
jonathanpeppers added a commit that referenced this pull request Oct 17, 2023
First, I had to update the URL we test, because it was down:

https://httpstat.us/200

Instead, I used:

https://httpbin.org/status/200

Next, after reviewing the latest methods in the profile, I noticed a
lot of timezone logic was completely removed. This might be related
to different cookies returns from the new URL, not sure.

I added a `DateTime.Now` call to `CommonMethods.cs`, to ensure the
timezone logic is in the AOT profile.

Testing a `dotnet new android` app on a Pixel 5, an average of 10 runs
of the "displayed time`:

	Average(ms): 179.1
	Std Err(ms): 2.53179778023443
	Std Dev(ms): 8.00624756049924
@jonathanpeppers jonathanpeppers deleted the aot-profile-net8-ga branch October 17, 2023 18:01
grendello added a commit to grendello/xamarin-android that referenced this pull request Oct 18, 2023
* main:
  [Mono.Android] Generate API docs with "full" verbosity (dotnet#8435)
  [profiled-aot] update profile for .NET 8 GA (dotnet#8428)
  Bump to xamarin/Java.Interop/main@3c83179 (dotnet#8429)
  [Xamarin.Android.Build.Tasks] Small refactoring to `AddKeepAlives` method (dotnet#8423)
  [Xamarin.Android.Build.Tasks] Fixup indirect resource references (dotnet#8416)
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants