@glimt/record 0.0.60 → 0.0.61

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
@@ -1996,7 +1996,9 @@ function serializeNodeWithId(n2, options) {
1996
1996
  const avgs = Object.entries(debugging.store).map(([key, values]) => {
1997
1997
  return {
1998
1998
  key,
1999
- avg: values.reduce((a2, b) => a2 + b, 0) / values.length
1999
+ avg: values.reduce((a2, b) => a2 + b, 0) / values.length,
2000
+ max: Math.max(...values),
2001
+ min: Math.min(...values)
2000
2002
  };
2001
2003
  });
2002
2004
  console.log("last 1000 avgs", JSON.parse(JSON.stringify(avgs)));