chromium-bidi 13.1.0 → 13.1.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.
Files changed (3) hide show
  1. package/.browser +1 -1
  2. package/README.md +4 -44
  3. package/package.json +7 -8
package/.browser CHANGED
@@ -1 +1 @@
1
- chrome@146.0.7654.0
1
+ chrome@146.0.7657.0
package/README.md CHANGED
@@ -19,52 +19,12 @@ at [WPT WebDriver BiDi status](https://wpt.fyi/results/webdriver/tests/bidi).
19
19
 
20
20
  ## Performance Benchmarks
21
21
 
22
- We use several approaches to measure performance. Performance data, while not entirely
23
- stable (especially on macOS), is collected from GitHub Actions and offers insights into
24
- the project's performance.
22
+ The project continuously monitors the performance and overhead of the WebDriver BiDi implementation.
25
23
 
26
- - https://googlechromelabs.github.io/chromium-bidi/bench/
24
+ - **Dashboard:** [Chromium-BiDi Performance Benchmarks](https://googlechromelabs.github.io/chromium-bidi/bench/)
25
+ - **Details:** Refer to [docs/benchmark.md](docs/benchmark.md) for detailed information about the benchmarking infrastructure, methodology, and statistical analysis.
27
26
 
28
- ### Puppeteer CDP vs BiDi benchmark
29
-
30
- Metrics with the `pup-` prefix compare Puppeteer performance in CDP and BiDi modes. The
31
- benchmark uses the script
32
- [`tools/benchmark-puppeteer.mjs`](https://github.com/GoogleChromeLabs/chromium-bidi/tree/main/tools/benchmark-puppeteer.mjs)
33
- to evaluate JavaScript execution involving selectors and DOM manipulation. This direct
34
- comparison aims to mitigate the impact of hardware fluctuations.
35
-
36
- #### Running locally
37
-
38
- To run the benchmark locally, you would need some preparation:
39
-
40
- 1. Build Chromium BiDi.
41
- 1. Add Puppeteer to your project dependencies (!Important: don't commit it!).
42
- 1. Link Chromium BiDi and use linked version in your project. This is required for Puppeteer
43
- to use this version of Chromium BiDi instead of one it depends on.
44
- 1. Run the benchmark.
45
-
46
- ```bash
47
- npm run build
48
- npm install puppeteer@24.36.0
49
- npm link
50
- npm link chromium-bidi
51
- node tools/benchmark-puppeteer.mjs
52
- ```
53
-
54
- ### E2E benchmark
55
-
56
- Metrics with the `e2e-` prefix are derived from E2E tests in the
57
- [`tests/performance`](https://github.com/GoogleChromeLabs/chromium-bidi/tree/main/tests/performance)
58
- folder. They measure the absolute time, so they are more sensitive to hardware
59
- fluctuations.
60
-
61
- #### Running locally
62
-
63
- Run the e2e tests with the `-rP` option to get the performance metrics in the output.
64
-
65
- ```bash
66
- PYTEST_ADDOPTS="-rP" npm run e2e -- tests/performance | grep "PERF_METRIC"
67
- ```
27
+ Note that performance data can be sensitive to CI environment fluctuations, especially on macOS.
68
28
 
69
29
  ## BiDi+
70
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chromium-bidi",
3
- "version": "13.1.0",
3
+ "version": "13.1.1",
4
4
  "description": "An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.",
5
5
  "scripts": {
6
6
  "build": "wireit",
@@ -180,11 +180,11 @@
180
180
  "devtools-protocol": "*"
181
181
  },
182
182
  "devDependencies": {
183
- "@actions/core": "2.0.2",
183
+ "@actions/core": "3.0.0",
184
184
  "@eslint/js": "9.39.2",
185
- "@puppeteer/browsers": "2.11.1",
185
+ "@puppeteer/browsers": "2.11.2",
186
186
  "@rollup/plugin-node-resolve": "16.0.3",
187
- "@rollup/wasm-node": "4.57.0",
187
+ "@rollup/wasm-node": "4.57.1",
188
188
  "@types/chai": "4.3.17",
189
189
  "@types/chai-as-promised": "7.1.8",
190
190
  "@types/debug": "4.1.12",
@@ -197,7 +197,7 @@
197
197
  "chai": "4.5.0",
198
198
  "chai-as-promised": "7.1.2",
199
199
  "debug": "4.4.3",
200
- "devtools-protocol": "0.0.1574117",
200
+ "devtools-protocol": "0.0.1575685",
201
201
  "eslint": "9.31.0",
202
202
  "eslint-config-prettier": "10.1.8",
203
203
  "eslint-import-resolver-typescript": "4.4.4",
@@ -205,12 +205,12 @@
205
205
  "eslint-plugin-mocha": "11.2.0",
206
206
  "eslint-plugin-prettier": "5.5.5",
207
207
  "eslint-plugin-promise": "7.2.1",
208
- "globals": "17.2.0",
208
+ "globals": "17.3.0",
209
209
  "mocha": "11.7.5",
210
210
  "package-directory": "8.1.0",
211
211
  "prettier": "3.8.1",
212
212
  "rimraf": "6.1.2",
213
- "rollup": "4.57.0",
213
+ "rollup": "4.57.1",
214
214
  "rollup-plugin-cleanup": "3.2.1",
215
215
  "rollup-plugin-license": "3.6.0",
216
216
  "selenium-webdriver": "4.40.0",
@@ -227,7 +227,6 @@
227
227
  },
228
228
  "dependencies": {
229
229
  "mitt": "^3.0.1",
230
- "puppeteer": "^24.36.0",
231
230
  "zod": "^3.24.1"
232
231
  }
233
232
  }