[Bug] Massive amount of dropped frames while CPU & GPU are doing nothing

オープン
#2,515 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
react, typescript

調査の方向性

[email protected]、@mapbox/[email protected]、Chrome 134、Ubuntu 22 を使用して、マップを 5–10 秒間ドラッグしてカクつきを再現し、その後、CPU と GPU がアイドル状態に見えるときのパン操作をプロファイリングします。完了の基準は、200–250 ms 間隔で発生するフレームドロップ時の一時停止の原因が特定され、単純なパン操作中にその現象が発生しなくなることです。

索引モデルが issue の本文から書いたものです。

説明

bug
Description

When simply dragging the map to pan, I get about 200-250ms worth of dropped frames every 5-10 seconds. The profiler shows that the CPU and GPU are both basically idle. When it recovers the profiler says the GPU is very busy for a few frames and then goes back to barely being used.

Expected Behavior

Simply dragging around the map with nothing on it should be perfectly smooth with no dropped frames.

Steps to Reproduce

Just pan the map around by dragging for 5-10 seconds, huge stutter for about 250ms with all frames dropped. Happens regularly and cosistently.

Environment
Logs

No response

主要言語
TypeScript
スター
8.5k
フォーク
1.3k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

visgl/react-map-gl のほかの issue

visgl/react-map-gl の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。