mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
SqliteWorker: clear performance marks & measures
This commit is contained in:
parent
be12e5234b
commit
8185843f12
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue