-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Manually walk to make normalizeSlashes a no-op #44101
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
Conversation
@typescript-bot perf test this |
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at e0d407b. You can monitor the build here. |
I could probably rewrite this in terms of |
The suggestion I made in #44100 avoids an array allocation. |
Isn't #44100 (comment) potentially creating several intermediate "result" strings on every iteration of the loop? Seems like it could go either way. |
I guess I could technically just use one array. |
@typescript-bot perf test this |
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at e0d407b. You can monitor the build here. |
@typescript-bot perf test this |
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at e0d407b. You can monitor the build here. |
@typescript-bot perf test this |
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at e0d407b. You can monitor the build here. Update: The results are in! |
@DanielRosenwasser Here they are:Comparison Report - master..44101
System
Hosts
Scenarios
Developer Information: |
@typescript-bot perf test this |
Heya @DanielRosenwasser, I've started to run the perf test suite on this PR at f040500. You can monitor the build here. Update: The results are in! |
@DanielRosenwasser Here they are:Comparison Report - master..44101
System
Hosts
Scenarios
Developer Information: |
Single run of large project load in node12 on linux: indexOf
This PR
The baseline includes other local changes, but was the same for both. |
Experimental alternative to #44100.