Repository navigation
perf(pkg): memoize Lock_dir.get_with_path - #12758
Merged
Merged
Conversation
rgrinberg
requested changes
Nov 20, 2025
Alizter
force-pushed
the
push-mylrktlnpwos
branch
from
November 20, 2025 22:56
66a7f3b to
c92ae9a
Compare
rgrinberg
force-pushed
the
push-mylrktlnpwos
branch
from
November 20, 2025 23:03
c92ae9a to
5513844
Compare
Member
|
Looks good. I adjusted the PR so that we don't parse the same lock dir when it's used in different contexts. |
rgrinberg
approved these changes
Nov 20, 2025
rgrinberg
force-pushed
the
push-mylrktlnpwos
branch
from
November 20, 2025 23:07
5513844 to
868fa8d
Compare
Alizter
marked this pull request as ready for review
November 21, 2025 09:12
Before: ``` [ocaml-cohttp]$ hyperfine "dune build" Benchmark 1: dune build Time (mean ± σ): 4.842 s ± 0.060 s [User: 4.444 s, System: 0.365 s] Range (min … max): 4.725 s … 4.908 s 10 runs ``` After: ``` [ocaml-cohttp]$ hyperfine "dune build" Benchmark 1: dune build Time (mean ± σ): 3.488 s ± 0.044 s [User: 3.186 s, System: 0.283 s] Range (min … max): 3.399 s … 3.550 s 10 runs ``` Signed-off-by: Ali Caglayan <[email protected]>
Alizter
force-pushed
the
push-mylrktlnpwos
branch
from
November 21, 2025 09:12
868fa8d to
1fea4b5
Compare
Alizter
enabled auto-merge
November 21, 2025 09:13
Alizter
added a commit
that referenced
this pull request
Apr 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Avoids countless re-reads of our build-side lock directory.
Before:
After: