Add Profiling (Lite) functionality

Aperta
#2,094 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 5 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
csharp, unity

Direzione di ricerca

Inizia esaminando l’ordine di esecuzione fisso di Unity e la raccolta esistente del contesto del dispositivo e dell’OS da parte dell’SDK. Determina come potrebbero essere misurati i tempi del rendering, della fisica e degli aggiornamenti combinati della logica di gioco. Per considerare il lavoro completato, sarebbero necessari un ambito concordato e dati temporali misurabili per queste aree, con il contesto raccolto allegato.

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

Descrizione

Feature Profiles Unity

This is more like a brain-dump than an actionable issue for now. Feel free to chime in.

In an ideal world, we'd ship with a profiler, and have detailed and granular insights as part of the offering. But that's technically somewhat unfeasible and there the issue with performance overhead.
Additionally, the profiler is part of the Editor and developers typically profile on their machine.

Instead, what we could look into are general bottlenecks.

Unity has a fixed execution order of systems. What we could do here is hook up into this life-cycle and time it. This would allow us to answer general questions like

  • How much time is spent on rendering each frame?
  • How much time is spent on physics?
  • How much time is spent on updating the game logic (user code - all update-calls combined)

That, combined with the context that the SDK is already collecting (i.e. device/OS) would already provide valuable insights.

Lingua principale
C#
Stelle
295
Fork
63
Merge medio
4g 10h
PR unite (30g)
29

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 getsentry/sentry-unity

Tutte le issue di getsentry/sentry-unity

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.