Accessibility lookups fetch the entire DOM tree once per selector
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- playwright, typescript
- 領域
- performance, testing
調査の方向性
src/deps/real.ts で backendNodeIdForSelector と、ドキュメントルートの取得方法を調べてください。まず depth: 0 のリクエストと現在の depth: -1 のリクエストを比較し、次に issue に記載された実ブラウザーのテストを追加して、同じセレクターセットを両方の方法で解決してください。backendNodeId の値が一致し、検索コストが測定されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
What
backendNodeIdForSelector in src/deps/real.ts sends DOM.getDocument with depth: -1, serializing the whole document over the DevTools protocol, and reads only root.nodeId from the result.
Evidence
Measured on a real product UI: 45 calls at 191 ms each, 8.6 seconds of a 55 second scan, 34 percent of the PatternFly rule phase. Every other DevTools call in the scan averaged 2 to 3 ms.
Direction
Request depth: 0 (root only) or cache the root node id per document. Same node, same querySelector, same backendNodeId, so the observation does not change. Prove identity with a real-browser test that resolves a selector set both ways and asserts equal backendNodeId values, then measure.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 2時間 48分
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
usabl-dev/usabl のほかの issue
-
area: engine bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
Stop hook allows a stop on an unknown verdict, and the self-check prints IDLE for a null verdictオープンarea: assistants bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
area: engine bug security
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Overlay: browser context failures are counted per plugin, not per browser, and close is not sharedオープンarea: overlay bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
enhancement good first issue help wanted roadmap v0.2.x
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
usabl-dev/usabl の issue をすべて見る
似ている issue
-
area:agent-view area:tui bug platform:macos
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anthropics/claude-code#104558 ·
メンテナーはふだん 1 日以内に返信
-
updater
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UniversityOfHelsinkiCS/oodikone#5141 ·
-
maintanance
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
inmanta/web-console#7606 ·
メンテナーはふだん 1 日以内に返信
-
bug skills
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
equinor/fusion-framework#5846 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 74/100