-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-117607: Speedup os.path.relpath()
#117608
Conversation
Misc/NEWS.d/next/Core and Builtins/2024-04-07-18-42-09.gh-issue-117607.C978BD.rst
Outdated
Show resolved
Hide resolved
…e-117607.C978BD.rst Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@eryksun, could you run a benchmark for |
Windows - ntpath - 1.407-1.565 speedup
Linux - posixpath - 1.137-1.189 speedup
Windows - posixpath - 1.123-1.136 speedup
Linux - ntpath - 1.006-1.007 slowdown (no change)
|
Could you also check with |
Sure, except testing Windows - ntpath - 1.201-1.269 speedup
Linux - posixpath - 1.309-1.434 speedup
Windows - posixpath - 1.060 slowdown, 1.019 speedup
Linux - ntpath - 1.004 speedup (no change)
|
Thanks for running benchmarks, @eryksun 🙏 |
Thanks! |
os.path.relpath()
#117607