Skip to content

Commit c99bf5b

Browse files
committed
Only warn about cache hits in comparison mode
1 parent afa3d55 commit c99bf5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/view/compare-performance/ComparePerformance.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ function ComparePerformanceWithData(props: {
574574
return (
575575
<>
576576
<ViewTitle>Performance comparison</ViewTitle>
577-
{hasCacheHitMismatch.current && (
577+
{comparison && hasCacheHitMismatch.current && (
578578
<WarningBox>
579579
<strong>Inconsistent cache hits</strong>
580580
<br />

0 commit comments

Comments
 (0)