cry-synced-db-client 0.1.214 → 0.1.215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -3333,7 +3333,9 @@ var SyncEngine = class {
|
|
|
3333
3333
|
items: items.length,
|
|
3334
3334
|
itemsCumulative: _perCollectionItems.get(collection),
|
|
3335
3335
|
isNewCollection: isNewColl,
|
|
3336
|
-
processingMs: Math.round(_processingMs)
|
|
3336
|
+
processingMs: Math.round(_processingMs),
|
|
3337
|
+
dexieMs: Math.round(stats.dexieMs),
|
|
3338
|
+
inMemMs: Math.round(stats.inMemMs)
|
|
3337
3339
|
});
|
|
3338
3340
|
},
|
|
3339
3341
|
{
|
|
@@ -680,8 +680,12 @@ export interface SyncedDbConfig {
|
|
|
680
680
|
itemsCumulative?: number;
|
|
681
681
|
/** True only for the first chunk of a new collection */
|
|
682
682
|
isNewCollection?: boolean;
|
|
683
|
-
/**
|
|
683
|
+
/** Total processing time for this chunk (ms) */
|
|
684
684
|
processingMs?: number;
|
|
685
|
+
/** Dexie (IndexedDB) write time for this chunk (ms) */
|
|
686
|
+
dexieMs?: number;
|
|
687
|
+
/** InMem (Vuex/dbx) write time for this chunk (ms) */
|
|
688
|
+
inMemMs?: number;
|
|
685
689
|
}) => void;
|
|
686
690
|
/**
|
|
687
691
|
* Callback when per-collection hydration status changes (hydration end,
|