Skip to content

Commit 92b6c48

Browse files
committed
Отладочная информация для оценки времени загрузки EDT файлов
1 parent dadd540 commit 92b6c48

File tree

1 file changed

+2
-0
lines changed
  • src/ConfigurationFormats

1 file changed

+2
-0
lines changed

src/ConfigurationFormats/edt.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export class Edt {
7272
});
7373
const configuration = parser.parse(Buffer.from(configXml))['mdclass:Configuration'];
7474

75+
console.time('edtDownload');
7576
if (configuration) {
7677
arrayPaths.forEach((path) => {
7778
const objectsName = path.split('.')[1];
@@ -89,6 +90,7 @@ export class Edt {
8990
}
9091
});
9192
}
93+
console.timeEnd('edtDownload');
9294
});
9395
}
9496

0 commit comments

Comments
 (0)