Skip to content

Commit 2915614

Browse files
authored
feat(amazonq): Reduce @workspace indexing time by 50% (#5519)
## Problem The indexing of @workspace feature is slow. ## Solution By upgrading ONNX version from 1.18 to 1.19 in the 0.1.5 LSP, we observed reduction in indexing time by about 50% when using CPU for index. There is no improvement when using GPU or AMD CPU on Windows. There is no customer facing change or customer experience change. --- <!--- REMINDER: Ensure that your PR meets the guidelines in CONTRIBUTING.md --> License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 9d8ddbd commit 2915614

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Reduce workspace CPU indexing time by 50%"
4+
}

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export interface Manifest {
6767
}
6868
const manifestUrl = 'https://aws-toolkit-language-servers.amazonaws.com/q-context/manifest.json'
6969
// this LSP client in Q extension is only going to work with these LSP server versions
70-
const supportedLspServerVersions = ['0.1.4']
70+
const supportedLspServerVersions = ['0.1.5']
7171

7272
const nodeBinName = process.platform === 'win32' ? 'node.exe' : 'node'
7373
/*

0 commit comments

Comments
 (0)