SqliteWorker: clear performance marks & measures
This commit is contained in:
parent
be12e5234b
commit
8185843f12
|
@ -25,6 +25,9 @@ export const SqliteWorker = {
|
||||||
const { duration } = perf.measure('end', 'start');
|
const { duration } = perf.measure('end', 'start');
|
||||||
debug(`${sql} \x1b[90m(${(duration / 1000).toFixed(2)}s)\x1b[0m`);
|
debug(`${sql} \x1b[90m(${(duration / 1000).toFixed(2)}s)\x1b[0m`);
|
||||||
|
|
||||||
|
perf.clearMarks();
|
||||||
|
perf.clearMeasures();
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
destroy() {
|
destroy() {
|
||||||
|
|
Loading…
Reference in New Issue