-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing deprecated code for the delays introduced for low perf langu…
…ages (#5957) This PR removes the artificial latency logic and associated feature flags that were previously added for A/B testing to improve the consistency and predictability of the autocomplete latency. Context: The artificial latency was initially introduced as an optimization for low-performance languages, but recent testing and analysis have shown that the latency changes are minimal, and the feature is no longer necessary. Additionally, the smart throttle service is now enabled by default, rendering the artificial latency code obsolete. Changes: - Removed the artificial latency code from vscode/src/completions/artificial-delay.ts. - Cleaned up related feature flags from the codebase to simplify the code and avoid confusion in the future. - Updated related test cases and documentation to reflect these changes. ## Test plan Tested locally and it works perfect and the tests pass <!-- Required. See https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles. --> ## Changelog <!-- OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c -->
- Loading branch information
1 parent
07a44d3
commit 1bf95a9
Showing
8 changed files
with
1 addition
and
132 deletions.
There are no files selected for viewing
This file contains 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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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