Skip to content

Commit 7a18ca1

Browse files
Tweak performance test thresholds (#3137)
1 parent 47323bc commit 7a18ca1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/cursorless-vscode-e2e/src/suite/performance.vscode.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const testData = generateTestData(100);
1414

1515
const smallThresholdMs = 100;
1616
const largeThresholdMs = 600;
17+
const xlThresholdMs = 800;
1718

1819
type ModifierType = "containing" | "previous" | "every";
1920

@@ -92,7 +93,7 @@ suite("Performance", async function () {
9293
test(
9394
"Select collectionKey with multiple cursors",
9495
asyncSafety(() =>
95-
selectWithMultipleCursors(largeThresholdMs, {
96+
selectWithMultipleCursors(smallThresholdMs, {
9697
type: "collectionKey",
9798
}),
9899
),
@@ -110,7 +111,7 @@ suite("Performance", async function () {
110111
test(
111112
"Select surroundingPair.any with multiple cursors",
112113
asyncSafety(() =>
113-
selectWithMultipleCursors(largeThresholdMs, {
114+
selectWithMultipleCursors(xlThresholdMs, {
114115
type: "surroundingPair",
115116
delimiter: "any",
116117
}),

0 commit comments

Comments
 (0)