ynput / ynput/ayon-cpp-dev-tools
Extract Tracing tools from ayon-cpp-api and implement a perTracing system
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 0
- Forks
- 2
- Ø Merge
- 4 T. 7 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Performance Tracer Proposal
Preamble
We need to performance test the Cpp software stack.
Currently we dont have a good unified system to performance Trace.
we want both File export tracing and Software Attached Tracing.
the AyonCppApi has an build option to include an function instrumentor.
the code is very simple but allows us to get a file that can be used to visually inspect what functions get called and how much time they need.
we want to move this code into the CppDevTools and improve its functions
Purpose and Problem
- Move the Instrumentor code from the CppApi int othe CppDevTools
- Visualisation via perfetto
- Implement a Perf Testing System that tests at different Request Amounts
- Show BigO
- Allow us to see if tools behave at different scales
- Show this Data as an Graph with data at the data points. https://github.com/ynput/ayon-automator/issues/4
- Export as CSV data
Research
- The Insturmentor in the CppApi is based on The Chernos instrumentor
Links
- https://github.com/google/orbit
- Gprof, Gprof2dot and Dot https://www.youtube.com/watch?v=zbTtVW64R_I&t=319s
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die Funktion instrumentor in ayon-cpp-api zu finden und zu prüfen, wie ihre Build-Option und der Datei-Export funktionieren. Untersuche anschließend die Struktur von CppDevTools und die genannten Ziele für Perfetto, request-scaling, Graphen und CSV. Die Aufgabe ist abgeschlossen, wenn die Tracing-Tools verschoben und die vorgeschlagenen Funktionen für Performance-Tests implementiert wurden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- devtools, performance
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100