We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bb34a3 commit ea85693Copy full SHA for ea85693
packages/idb-cache/src/index.ts
@@ -534,7 +534,11 @@ export class IDBCache implements IDBCacheInterface {
534
535
const duration = Date.now() - startTime;
536
if (this.debug && duration > DURATION_THRESHOLD) {
537
- console.debug(`getItem for key ${itemKey} took ${duration}ms`);
+ console.debug(
538
+ `getItem for key ${itemKey} took ${duration}ms for ${
539
+ new TextEncoder().encode(decryptedChunks.join("")).length
540
+ } bytes`
541
+ );
542
}
543
544
return decryptedChunks.join("");
0 commit comments