This repository was archived by the owner on Sep 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: code insights language stats performance improvements #62011
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b23c74f
feat: raise timeout and introduce parallel gitserver calls
bahrmichael 8566ffe
chore: rework semaphore into inventory client + separate redis and gi…
bahrmichael a132c83
Merge branch 'main' into bahrmichael/2962
bahrmichael a5ac551
Merge branch 'main' into bahrmichael/2962
bahrmichael 1ac9cd5
feat: introduce new properties to tweak GetInventory performance; new…
bahrmichael 3b159fb
chore: add and fix tests
bahrmichael 3034652
chore: revert rcache version change
bahrmichael bfd4cdc
chore: omit err check
bahrmichael 2efa3cf
chore: simplify closure
bahrmichael e64a7a4
fix: update bazel files
bahrmichael 3beafa6
fix: linting and use grafana regexp
bahrmichael d7d34bb
fix: default values for config; use conc package
bahrmichael e1c639c
fix: apply correct locking and tracing
bahrmichael 4a9c357
chore: replace experimental config with env vars (still needs build f…
bahrmichael e3ef818
fix: enforce DFS to better utilize tree caching
bahrmichael 4807b1e
fix: run bazel configure
bahrmichael 5eedbca
fix: bazel configure and use correct var
bahrmichael 92363c7
fix: remove DFS and fix nogo errors
bahrmichael 373ebb3
fix: increase redis concurrency
bahrmichael f01d577
chore: trace cleanup and logging
bahrmichael c7ae721
Merge branch 'main' into bahrmichael/2962
bahrmichael d6caa17
chore: add changelog entry
bahrmichael 768babf
chore: update bazel files
bahrmichael cefdaf5
chore: update bazel files
bahrmichael ab08d6f
chore: harden test for concurrency
bahrmichael fe7b523
fix: allow data race in entries_test.go
bahrmichael 6671ee4
fix: allow data race in entries_test.go
bahrmichael b7ee4a3
chore: update comment on why we don't do a recursive call
bahrmichael File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated entries.go to use concurrency via conc's iter.MapErr. This means that we're racing various tasks. Our bazel tests by default don't like racing. Unless we want to do a major refactor of the code, we need to allow racing here. From what I can see in the code this should be safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, that's a problem. If the race detector triggers, that almost always indicates a bug. It has a very low false positive rate. We should fix the race conditions.