@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 +3 -1
- package/dist/record.cjs.map +1 -1
- package/dist/record.js +3 -1
- package/dist/record.js.map +1 -1
- package/dist/record.umd.cjs +3 -1
- package/dist/record.umd.cjs.map +2 -2
- package/dist/record.umd.min.cjs +10 -10
- package/dist/record.umd.min.cjs.map +2 -2
- package/package.json +1 -1
package/dist/record.js
CHANGED
|
@@ -1994,7 +1994,9 @@ function serializeNodeWithId(n2, options) {
|
|
|
1994
1994
|
const avgs = Object.entries(debugging.store).map(([key, values]) => {
|
|
1995
1995
|
return {
|
|
1996
1996
|
key,
|
|
1997
|
-
avg: values.reduce((a2, b) => a2 + b, 0) / values.length
|
|
1997
|
+
avg: values.reduce((a2, b) => a2 + b, 0) / values.length,
|
|
1998
|
+
max: Math.max(...values),
|
|
1999
|
+
min: Math.min(...values)
|
|
1998
2000
|
};
|
|
1999
2001
|
});
|
|
2000
2002
|
console.log("last 1000 avgs", JSON.parse(JSON.stringify(avgs)));
|