We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6568b56 commit 6f7eb74Copy full SHA for 6f7eb74
extensions/ql-vscode/src/view/compare-performance/ComparePerformance.tsx
@@ -411,11 +411,11 @@ function ComparePerformanceWithData(props: {
411
[from, to],
412
);
413
414
- const hasCacheHitMismatch = useRef<boolean>(false);
+ const hasCacheHitMismatch = useRef(false);
415
416
- const rows = useMemo(
417
- () =>
418
- Array.from(nameSet)
+ const rows = useMemo(() => {
+ hasCacheHitMismatch.current = false;
+ return Array.from(nameSet)
419
.map((name) => {
420
const before = from.getTupleCountInfo(name);
421
const after = to.getTupleCountInfo(name);
0 commit comments