-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[python] Python is 2x~3x slower than official binary on simple benchmarks (gcc emutls) #22917
Comments
you are not using the native python, try:
|
The python at I installed the UCRT64-specific one according to your recommendation and it has the same problem, just slightly less bad:
|
Ok, thanks |
It seems to be a gcc vs clang thing, no idea why:
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 (Implement Windows native TLS) edit: I've heart that hopefully we'll see some progress there in the near future. |
Description / Steps to reproduce the issue
Using a numeric pi calculation microbenchmark, timed using hyperfine (but
time
works ok too):Benchmark program:
Expected behavior
Roughly same performance.
Actual behavior
Wildly different performance.
Verification
Windows Version
MINGW64_NT-10.0-19045
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: