@naturalcycles/nodejs-lib 13.1.1 → 13.1.2
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.
|
@@ -56,7 +56,7 @@ function transformLogProgress(opt = {}) {
|
|
|
56
56
|
const rpsTotal = Math.round(batchedProgress / ((now - started) / 1000)) || 0;
|
|
57
57
|
lastSecondStarted = now;
|
|
58
58
|
processedLastSecond = 0;
|
|
59
|
-
const rps10 = Math.round(sma.
|
|
59
|
+
const rps10 = Math.round(sma.pushGetAvg(lastRPS));
|
|
60
60
|
if (mem.rss > peakRSS)
|
|
61
61
|
peakRSS = mem.rss;
|
|
62
62
|
const o = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturalcycles/nodejs-lib",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"prepare": "husky install",
|
|
6
6
|
"docs-serve": "vuepress dev docs",
|
|
@@ -38,12 +38,7 @@
|
|
|
38
38
|
"@naturalcycles/dev-lib": "^13.0.0",
|
|
39
39
|
"@types/node": "^20.1.0",
|
|
40
40
|
"@types/yargs": "^16.0.0",
|
|
41
|
-
"jest": "^29.0.0"
|
|
42
|
-
"nock": "^13.0.2",
|
|
43
|
-
"prettier": "^3.0.0",
|
|
44
|
-
"vue-class-component": "^7.2.6",
|
|
45
|
-
"vuepress": "^1.7.1",
|
|
46
|
-
"vuepress-plugin-typescript": "^0.3.1"
|
|
41
|
+
"jest": "^29.0.0"
|
|
47
42
|
},
|
|
48
43
|
"bin": {
|
|
49
44
|
"del": "dist/bin/del.js",
|
|
@@ -224,7 +224,7 @@ export function transformLogProgress<IN = any>(
|
|
|
224
224
|
lastSecondStarted = now
|
|
225
225
|
processedLastSecond = 0
|
|
226
226
|
|
|
227
|
-
const rps10 = Math.round(sma.
|
|
227
|
+
const rps10 = Math.round(sma.pushGetAvg(lastRPS))
|
|
228
228
|
if (mem.rss > peakRSS) peakRSS = mem.rss
|
|
229
229
|
|
|
230
230
|
const o: LogItem = {
|