Skip to content

Commit 1512e46

Browse files
committed
chore: update debug function
1 parent b25bcb1 commit 1512e46

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

frontend/src/ts/utils/debug.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,20 @@ function logTiming(start: number, funcName: string): void {
5252
count: arr.length,
5353
});
5454
const endOverhead = performance.now();
55-
//@ts-expect-error chrome api thingy
56-
console.timeStamp(`#${arr.length} ${funcName}`, start, end, funcName);
55+
console.timeStamp(
56+
`#${arr.length} ${funcName}`,
57+
//@ts-expect-error chrome api thingy
58+
start,
59+
end,
60+
funcName,
61+
"monkeytype"
62+
);
5763
console.timeStamp(
5864
`#${arr.length} profiling overhead`,
5965
//@ts-expect-error chrome api thingy
6066
end,
6167
endOverhead,
62-
funcName
68+
funcName,
69+
"monkeytype"
6370
);
6471
}

0 commit comments

Comments
 (0)