@browserless/benchmark 9.3.3 → 9.3.14-alpha.1

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@browserless/benchmark",
3
3
  "description": "Benchmarking tool for testing different browserless configurations",
4
4
  "homepage": "https://browserless.js.org/#/?id=benchmark",
5
- "version": "9.3.3",
5
+ "version": "9.3.14-alpha.1",
6
6
  "main": "src/index.js",
7
7
  "author": {
8
8
  "email": "josefrancisco.verdu@gmail.com",
@@ -29,7 +29,6 @@
29
29
  "puppeteer"
30
30
  ],
31
31
  "devDependencies": {
32
- "@browserless/pool": "latest",
33
32
  "asciichart": "latest",
34
33
  "browserless": "latest",
35
34
  "debug-logfmt": "latest",
@@ -59,5 +58,5 @@
59
58
  "test": "exit 0"
60
59
  },
61
60
  "license": "MIT",
62
- "gitHead": "e15c8a9fea38ad134170d52c9b8058010a3c7cd1"
61
+ "gitHead": "bba42d6afadb84831522db8755017bd9b1ee565b"
63
62
  }
package/src/flags.js CHANGED
@@ -16,8 +16,8 @@ const FLAGS = [
16
16
  ]
17
17
 
18
18
  const args = driver.args.reduce((acc, flag) => {
19
- if (FLAGS.includes(flag)) return acc
20
- return [...acc, flag]
19
+ if (!FLAGS.includes(flag)) acc.push(flag)
20
+ return acc
21
21
  }, [])
22
22
 
23
23
  const createBenchmark = ({ args }) => {
package/src/index.js CHANGED
@@ -109,7 +109,6 @@ const main = async () => {
109
109
  histogram,
110
110
  (acc, value, key) => {
111
111
  const newValue = !includes(['count'], key) ? prettyMs(value) : value
112
-
113
112
  return { ...acc, [key]: newValue }
114
113
  },
115
114
  {}