SqliteWorker: clear performance marks & measures

This commit is contained in:
Alex Gleason 2024-04-08 08:37:37 -05:00
parent be12e5234b
commit 8185843f12
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -25,6 +25,9 @@ export const SqliteWorker = {
const { duration } = perf.measure('end', 'start');
debug(`${sql} \x1b[90m(${(duration / 1000).toFixed(2)}s)\x1b[0m`);
perf.clearMarks();
perf.clearMeasures();
return result;
},
destroy() {