-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8353923: (fs) Further improve performance of URI -> Path conversion (win) #24638
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back bpb! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
Webrevs
|
Benchmark testing of URI-to-Path conversion on Windows gives these results:
For URIs having a path to which the optimization applies, the throughput increase is nearly two-thirds. For URIs which are not so amenable, there is a small throughput decrease of less than 5%. URIs which have a UNC path component are not affected. So the question is whether a substantial throughput increase for susceptible absolute drive paths is worth a small but non-zero throughput decrease for other path components. |
Is it possible to add a JMH benchmark to the PR? |
Yes, I was intending to do that. |
@bplb This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
@bplb This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
/touch |
@bplb The pull request is being re-evaluated and the inactivity timeout has been reset. |
@bplb This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
If the path portion of a
URI
permits, then simply replace all'\\'
with'/'
instead of completely parsing the path.Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24638/head:pull/24638
$ git checkout pull/24638
Update a local copy of the PR:
$ git checkout pull/24638
$ git pull https://git.openjdk.org/jdk.git pull/24638/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24638
View PR using the GUI difftool:
$ git pr show -t 24638
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24638.diff
Using Webrev
Link to Webrev Comment