add missing js files

Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-05-02 10:56:52 +02:00
parent 823058b15a
commit 57f5bf5bd5
5 changed files with 17 additions and 7 deletions
+6 -4
View File
@@ -5,10 +5,12 @@ async function timer(name, elapsed) {
}
async function logTimers() {
allTimers.sort((a, b) => b[1] - a[1]);
const filteredTimers = allTimers.filter((t) => t[1] > 50);
debug('startupTimers', filteredTimers);
// xhrPost(`${window.api}/log`, { debug: JSON.stringify(filteredTimers) });
// allTimers.sort((a, b) => b[1] - a[1]);
const filteredTimers = allTimers.filter((t) => t[1] > 100);
const objTimers = {};
for (const [name, elapsed] of filteredTimers) objTimers[name] = elapsed;
debug('startupTimers', objTimers);
// xhrPost(`${window.api}/log`, { debug: JSON.stringify(objTimers) });
}
window.timer = timer;