Profile / Thread styles

This commit is contained in:
2023-07-24 15:30:21 +01:00
parent d292e658fc
commit 076d5d8cd5
67 changed files with 684 additions and 602 deletions

View File

@ -32,7 +32,7 @@ export abstract class FeedCache<TCached> {
this.cache.size,
this.onTable.size,
this.#hooks.length,
((this.#hits / (this.#hits + this.#miss)) * 100).toFixed(1)
((this.#hits / (this.#hits + this.#miss)) * 100).toFixed(1),
);
}, 30_000);
}
@ -174,7 +174,7 @@ export abstract class FeedCache<TCached> {
`Loaded %d/%d in %d ms`,
fromCacheFiltered.length,
keys.length,
(unixNowMs() - start).toLocaleString()
(unixNowMs() - start).toLocaleString(),
);
return mapped.filter(a => !a.has).map(a => a.key);
}