User Tools

Site Tools


gsoc:2021-gsoc-perf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
gsoc:2021-gsoc-perf [2021/02/05 23:17]
irogers created
gsoc:2021-gsoc-perf [2021/02/05 23:35]
irogers
Line 40: Line 40:
  
 Perf has different user interfaces: Perf has different user interfaces:
- * stdio - the most basic UI that can use a pager like ''​less'',​ +  ​* stdio - the most basic UI that can use a pager like ''​less'',​ 
- * tui - based on [[http://​www.jedsoft.org/​slang/​|slang]],​ +  * tui - based on [[http://​www.jedsoft.org/​slang/​|slang]],​ 
- * gtk - uses the gtk2 user interface. This option isn't enabled by default at build time.+  * gtk - uses the gtk2 user interface. This option isn't enabled by default at build time.
  
 This project will look to improve the user interface experience with perf, for example, by upgrading the gtk2 code to use gtk4. The addition of other user interfaces would be an option for this project. This project will look to improve the user interface experience with perf, for example, by upgrading the gtk2 code to use gtk4. The addition of other user interfaces would be an option for this project.
Line 49: Line 49:
  
 The ''​perf data''​ command allows a perf.data file to be converted to other file formats, however, currently only CTF is supported. This project will look to add support for other file formats such as Firefox'​s [[https://​github.com/​firefox-devtools/​profiler/​blob/​main/​docs-developer/​gecko-profile-format.md|Gecko profile format]] or Chrome'​s [[https://​docs.google.com/​document/​d/​1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/​preview|trace event format]]. By supporting conversion to these file formats visualization tools will be able to show a recorded perf.data file. The ''​perf data''​ command allows a perf.data file to be converted to other file formats, however, currently only CTF is supported. This project will look to add support for other file formats such as Firefox'​s [[https://​github.com/​firefox-devtools/​profiler/​blob/​main/​docs-developer/​gecko-profile-format.md|Gecko profile format]] or Chrome'​s [[https://​docs.google.com/​document/​d/​1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/​preview|trace event format]]. By supporting conversion to these file formats visualization tools will be able to show a recorded perf.data file.
 +
 +==== Scalability and speed ====
 +
 +Large parts of the perf command are single threaded. As CPU core counts increase, this means that programming events can be slow and the command in general can be slower that it needs to be. This project will look to provide parallel approaches to processing perf data structures such as ''​evlist''​ so that more concurrency happens within the perf command.
gsoc/2021-gsoc-perf.txt · Last modified: 2021/02/06 01:21 by irogers