Skip to content

Commit 9d727f0

Browse files
committed
Always report when gpu acceleration is enabled
1 parent 643ae5a commit 9d727f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vs/workbench/contrib/performance/browser/inputLatencyContrib.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ export class InputLatencyContrib extends Disposable implements IWorkbenchContrib
3333
}, 60000));
3434

3535

36-
// Only log 1% of users selected randomly to reduce the volume of data
37-
if (Math.random() <= 0.01) {
36+
// Only log 1% of users selected randomly to reduce the volume of data, always report if GPU
37+
// acceleration is enabled as it's opt-in
38+
if (Math.random() <= 0.01 || this._configurationService.getValue('editor.experimentalGpuAcceleration') === 'on') {
3839
this._setupListener();
3940
}
4041

0 commit comments

Comments
 (0)