Skip to content

Conversation

@jonathanpeppers
Copy link
Member

Updated the profile, following the instructions in:

src/ProfiledAot/README.md

Testing a dotnet new maui project on a Pixel 5:

Before:
Average(ms): 568
Std Err(ms): 2.21610268514595
Std Dev(ms): 7.00793201387621
After:
Average(ms): 548.5
Std Err(ms): 2.65518360947035
Std Dev(ms): 8.39642781187333

Most notably calls to System.Reflection.Emit are now gone, after we landed:

dotnet/android#7972

Updated the profile, following the instructions in:

    src/ProfiledAot/README.md

Testing a `dotnet new maui` project on a Pixel 5:

    Before:
    Average(ms): 568
    Std Err(ms): 2.21610268514595
    Std Dev(ms): 7.00793201387621
    After:
    Average(ms): 548.5
    Std Err(ms): 2.65518360947035
    Std Dev(ms): 8.39642781187333

Most notably calls to System.Reflection.Emit are now gone, after we
landed:

dotnet/android#7972
@jonathanpeppers jonathanpeppers added the legacy-area-perf Startup / Runtime performance label Apr 28, 2023
Comment on lines -7135 to -7152
void System.Reflection.Emit.DynamicMethod:.cctor ()
void System.Reflection.Emit.DynamicMethod:.ctor (string,System.Type,System.Type[],System.Reflection.Module,bool)
void System.Reflection.Emit.DynamicMethod:create_dynamic_method (System.Reflection.Emit.DynamicMethod,string,System.Reflection.MethodAttributes,System.Reflection.CallingConventions)
void System.Reflection.Emit.DynamicMethod:CreateDynMethod ()
void System.Reflection.Emit.DynamicMethod:Init (string,System.Reflection.MethodAttributes,System.Reflection.CallingConventions,System.Type,System.Type[],System.Type,System.Reflection.Module,bool,bool)
void System.Reflection.Emit.ILGenerator:.ctor (System.Reflection.Module,System.Reflection.Emit.ITokenGenerator,int)
void System.Reflection.Emit.ILGenerator:Emit (System.Reflection.Emit.OpCode,int)
void System.Reflection.Emit.ILGenerator:Emit (System.Reflection.Emit.OpCode,System.Reflection.ConstructorInfo)
void System.Reflection.Emit.ILGenerator:Emit (System.Reflection.Emit.OpCode,System.Reflection.FieldInfo)
void System.Reflection.Emit.ILGenerator:Emit (System.Reflection.Emit.OpCode,System.Reflection.MethodInfo)
void System.Reflection.Emit.ILGenerator:Emit (System.Reflection.Emit.OpCode,System.Type)
void System.Reflection.Emit.ILGenerator:Emit (System.Reflection.Emit.OpCode)
void System.Reflection.Emit.ILGenerator:emit_int (int)
void System.Reflection.Emit.ILGenerator:label_fixup (System.Reflection.MethodBase)
void System.Reflection.Emit.ILGenerator:ll_emit (System.Reflection.Emit.OpCode)
void System.Reflection.Emit.ILGenerator:make_room (int)
void System.Reflection.Emit.OpCodes:.cctor ()
void System.Reflection.Emit.RuntimeModuleBuilder:.cctor ()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! These are gone now.

@mattleibow mattleibow merged commit f24e8da into dotnet:net8.0 Apr 29, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2023
@Eilon Eilon added the perf/general The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf) label May 10, 2024
@samhouts samhouts added the fixed-in-8.0.0-preview.4.8333 Look for this fix in 8.0.0-preview.4.8333! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

fixed-in-8.0.0-preview.4.8333 Look for this fix in 8.0.0-preview.4.8333! legacy-area-perf Startup / Runtime performance perf/general The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf) platform/android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants