mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-09 08:34:20 +01:00
SqliteWorker: clear performance marks & measures
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user