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 · 3 comments
Open

Single file application slow on osx-x64 runtime #3809

thomhurst opened this issue Sep 11, 2024 · 3 comments

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants