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

Single file application slow on osx-x64 runtime #3809

Open
thomhurst opened this issue Sep 11, 2024 · 6 comments
Open

Single file application slow on osx-x64 runtime #3809

thomhurst opened this issue Sep 11, 2024 · 6 comments
Labels
Area: MTP Belongs to the Microsoft.Testing.Platform core library Area: Performance

Comments

@thomhurst
Copy link
Contributor

thomhurst commented Sep 11, 2024

I originally thought this was a dotnet runtime issue but a single file executable basic console app is quicker on all runtimes than invoking dotnet run.

However once you add the Microsoft.Testing.Platform then a osx-x64 single file executable takes a lot longer.

Benchmarks are here: https://github.com/thomhurst/SlowOsx64SingleFile/actions/runs/10811251824

Basic reproduction is available in that repository too.

@nohwnd
Copy link
Member

nohwnd commented Sep 11, 2024

Do you know if this reproes only on M1 or also on Intel chip on MacOS?

@thomhurst
Copy link
Contributor Author

Do you know if this reproes only on M1 or also on Intel chip on MacOS?

Don't know off the top of my head. Whatever the GitHub actions macos-latest uses

@nohwnd
Copy link
Member

nohwnd commented Sep 11, 2024

the benchmark you shared run on M1. Thanks.

@Evangelink Evangelink added the Area: MTP Belongs to the Microsoft.Testing.Platform core library label Nov 7, 2024
@nohwnd
Copy link
Member

nohwnd commented Feb 24, 2025

Image still observable.

@Evangelink
Copy link
Member

Interesting, I am wondering if we should ping some people from runtime so we could maybe have some pointers on what could have such big impact.

@nohwnd
Copy link
Member

nohwnd commented Feb 25, 2025

That was the original thought, but it only reproes when our packages are added, so I guess we need some traces at least, before bothering runtime people, postponed till my wife lends me her Mac 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: MTP Belongs to the Microsoft.Testing.Platform core library Area: Performance
Projects
None yet
Development

No branches or pull requests

3 participants