@glimt/record 0.0.64 → 0.0.65

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 CHANGED
@@ -1993,16 +1993,6 @@ function serializeNodeWithId(n2, options) {
1993
1993
  debugging.store[n2.nodeName].push(took);
1994
1994
  if (debugging.index % 5e3 === 0) {
1995
1995
  debugging.index = 0;
1996
- const avgs = Object.entries(debugging.store).map(([key, values]) => {
1997
- return {
1998
- tagName: key,
1999
- avg: values.reduce((a2, b) => a2 + b, 0) / values.length,
2000
- max: Math.max(...values),
2001
- min: Math.min(...values)
2002
- };
2003
- });
2004
- console.log("last 5000 avgs");
2005
- console.table(avgs);
2006
1996
  debugging.store = {};
2007
1997
  }
2008
1998
  return serializedNode;
@@ -10476,7 +10466,7 @@ class MutationBuffer {
10476
10466
  __publicField(this, "rollingMutTracker", {
10477
10467
  accumlativeMuts: 0,
10478
10468
  ts: -1,
10479
- interval: 10
10469
+ interval: 50
10480
10470
  });
10481
10471
  __publicField(this, "handleStormMutations", (muts) => {
10482
10472
  const time = Date.now();
@@ -10543,7 +10533,11 @@ class MutationBuffer {
10543
10533
  }
10544
10534
  });
10545
10535
  __publicField(this, "processInternalMutations", (muts, overrideStorm = false) => {
10546
- console.log("muts", muts.length);
10536
+ console.log(
10537
+ "muts",
10538
+ muts.length,
10539
+ JSON.parse(JSON.stringify(this.rollingMutTracker))
10540
+ );
10547
10541
  if (!overrideStorm) {
10548
10542
  if (this.stormInfo != null || muts.length >= this.stormSettings.batchSize) {
10549
10543
  this.handleStormMutations(muts);