perf(icons): updater takes 10 seconds to run with high cpu usage (#5608)

This commit is contained in:
Meier Lukas authored and GitHub committed 2026-05-01 16:21:22 +02:00
1 parent 16c6929396
commit ed6680ba6a
3 files changed
+45 -47

No files matched your search

+4
View File
@@ -41,6 +41,10 @@ export class Stopwatch {
return dayjs().millisecond(this.startTime).fromNow(true);
}
getElapsedInFormattedMilliseconds() {
return `${this.getElapsedInMilliseconds().toFixed(0)}ms`;
}
getElapsedInMilliseconds() {
return performance.now() - this.startTime;
}