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

Aperta
#2,515 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
react, typescript

Direzione di ricerca

Riproduci lo stuttering trascinando la mappa per 5–10 secondi con [email protected], @mapbox/[email protected], Chrome 134 e Ubuntu 22, quindi esegui il profiling dell’interazione di pan quando CPU e GPU sembrano inattive. Il lavoro è completato quando è stata identificata la pausa ricorrente di 200–250 ms dovuta ai frame persi e questa non si verifica più durante un semplice pan.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
8.5k
Fork
1.3k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di visgl/react-map-gl

Tutte le issue di visgl/react-map-gl

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.