profile: Support merge of slightly different but similar Profiles.
I maintainer di solito rispondono entro 1 giorno
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
- go
- Ambito
- performance, tooling
Direzione di ricerca
Inizia da profile.Merge ed esamina come valida i tipi di sample, i tipi di periodo, i periodi, duration, time e la simbolizzazione. Confronta le due direzioni proposte —normalizzare i profili compatibili o supportare più messaggi protobuf di profilo— e definisci il completamento in base a un comportamento documentato e testato per combinare o visualizzare profili Go e C++.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I want a way to combine memory profiles collected by different languages on the same process. (e.g. Go and C++)
profile.Merge provides merging of multiple profile.Profiles, but the merge operation is allowed only when the Profiles contain the same types and the period type.
Go's and C++'s memory profiles have the same period type, but the sample types are different, so profile.Merge is unhappy about it.
-
Go
PeriodType: space bytes
Period: 524288
Samples: alloc_objects/count alloc_space/bytes inuse_objects/count inuse_space/bytes -
C++
PeriodType: space bytes
Period: 2097152
Samples: objects/count space/bytes[dflt]
I see two options:
-
Extend or provide a variation of profile.Merge that accepts slightly different profiles, maps sample types, and outputs the intersection.
a) Must be careful about handling of the different Periods. (may need normalization. I am afraid the current Merge doesn't do anything complex other than choosing max Period and adding up values.)
b) Handling of Duration/Time should be carefully done.
c) Also, it's possible the one profile may include symbolization info while another doesn't. Does the final output have to drop all symbols in this case? -
Extend the http endpoint or profile output format to include multiple profile proto messages, and let the pprof tool visualize and analyze the multiple profiles separately. For example, layout Go and C++ allocation graphs in separate groups, but in the same svg graph.
If the normalization required by 1) can't be done correctly, I'd prefer the option 2).
@rauls5382 @aalexand
- Lingua principale
- Go
- Stelle
- 9.3k
- Fork
- 682
- Merge medio
- 2g 4h
- PR unite (30g)
- 11
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di google/pprof
-
Make comments more discoverable in the web UIForse già presa @jabrailkhalil l’ha presa 20 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
google/pprof#1029 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 74/100
google/pprof#1020 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
pprof cannot locate source code for the list command in common Go setupsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
google/pprof#1009 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Label with zero int64 value and no unit get dropped during decodingForse già presa @ms-hujia l’ha presa 125 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
google/pprof#1002 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
google/pprof#992 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di google/pprof
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
aws/amazon-ecs-agent#5177 ·
I maintainer di solito rispondono entro 2 giorni
-
release-followup
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
apache/rocketmq-dashboard#7292 ·
I maintainer di solito rispondono entro 3 giorni
-
[Bug]: Deleting an MCP proxy leaves its API keys in the gateway's memory and in the policy engineApertaAspect/API Aspect/Other Severity/Minor Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
wso2/api-platform#3852 ·
I maintainer di solito rispondono entro 1 giorno