Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ parameters:
type: string
default: 'any,ts-perf1,ts-perf2,ts-perf3,ts-perf4,ts-perf5,ts-perf6,ts-perf7,ts-perf8,ts-perf9,ts-perf10,ts-perf11,ts-perf12'
- name: TS_GO
displayName: boolean to describe if building ts-go
displayName: building ts-go
type: boolean
default: false

Expand Down
8 changes: 4 additions & 4 deletions ts-perf/packages/commands/src/benchmark/measurelsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ async function runPerf(options: CLIOpts) {
await connection.sendRequest(protocol.ReferencesRequest.method, {
textDocument: { uri: fileUri },
position: {
line: command.args.line,
character: command.args.offset,
line: command.args.line - 1,
character: command.args.offset - 1,
},
context: { includeDeclaration: true },
} as protocol.ReferenceParams);
Expand All @@ -307,8 +307,8 @@ async function runPerf(options: CLIOpts) {
{
textDocument: { uri: fileUri },
position: {
line: command.args.line,
character: command.args.offset,
line: command.args.line - 1,
character: command.args.offset - 1,
},
} as protocol.CompletionParams,
);
Expand Down
Loading