@glimt/record 0.0.61 → 0.0.63
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/record.cjs +6 -4
- package/dist/record.cjs.map +1 -1
- package/dist/record.js +6 -4
- package/dist/record.js.map +1 -1
- package/dist/record.umd.cjs +6 -4
- package/dist/record.umd.cjs.map +2 -2
- package/dist/record.umd.min.cjs +2 -2
- package/dist/record.umd.min.cjs.map +2 -2
- package/package.json +1 -1
package/dist/record.cjs
CHANGED
|
@@ -1991,17 +1991,18 @@ function serializeNodeWithId(n2, options) {
|
|
|
1991
1991
|
debugging.store[n2.nodeName] = [];
|
|
1992
1992
|
}
|
|
1993
1993
|
debugging.store[n2.nodeName].push(took);
|
|
1994
|
-
if (debugging.index %
|
|
1994
|
+
if (debugging.index % 5e3 === 0) {
|
|
1995
1995
|
debugging.index = 0;
|
|
1996
1996
|
const avgs = Object.entries(debugging.store).map(([key, values]) => {
|
|
1997
1997
|
return {
|
|
1998
|
-
key,
|
|
1998
|
+
tagName: key,
|
|
1999
1999
|
avg: values.reduce((a2, b) => a2 + b, 0) / values.length,
|
|
2000
2000
|
max: Math.max(...values),
|
|
2001
2001
|
min: Math.min(...values)
|
|
2002
2002
|
};
|
|
2003
2003
|
});
|
|
2004
|
-
console.log("last
|
|
2004
|
+
console.log("last 5000 avgs");
|
|
2005
|
+
console.table(avgs);
|
|
2005
2006
|
debugging.store = {};
|
|
2006
2007
|
}
|
|
2007
2008
|
return serializedNode;
|
|
@@ -10465,7 +10466,7 @@ class MutationBuffer {
|
|
|
10465
10466
|
__publicField(this, "stormBatches", []);
|
|
10466
10467
|
__publicField(this, "stormInfo", null);
|
|
10467
10468
|
__publicField(this, "stormSettings", {
|
|
10468
|
-
batchSize:
|
|
10469
|
+
batchSize: 50,
|
|
10469
10470
|
//was 300
|
|
10470
10471
|
timeout: 30,
|
|
10471
10472
|
//was 50
|
|
@@ -10537,6 +10538,7 @@ class MutationBuffer {
|
|
|
10537
10538
|
}
|
|
10538
10539
|
});
|
|
10539
10540
|
__publicField(this, "processInternalMutations", (muts, overrideStorm = false) => {
|
|
10541
|
+
console.log("muts", muts.length);
|
|
10540
10542
|
if (!overrideStorm && (this.stormInfo != null || muts.length >= this.stormSettings.batchSize)) {
|
|
10541
10543
|
this.handleStormMutations(muts);
|
|
10542
10544
|
return;
|