enso/lib/rust/ensogl/component
Michael Mauderer d3cc2c1025
Flame Graph for Profiling Data (#3297)
Add an API to create a flame graph from profiling data. Also adds a demo scene showcasing the functionality that generates some profiling data by measuring dummy function calls and rendering a flame graph for the dummy data (see video for the result).

Not that the functionality is not yet exposed user-facing in the GUI itself, but only as API and demo scene, therefore [ci no changelog needed]

https://user-images.githubusercontent.com/1428930/155118977-ecac0628-777c-48bd-9aa7-30ee6aef1976.mp4

# Important Notes
* Change from the initial design: labels are shown on the flame graph instead of as a tooltip. This is because tooltips are currently only implemented in the graph editor and would require some additional refactoring (probably taking the better part of a day).
* re-instated the behaviour that logs are shown in the JS console if development mode is active.
2022-03-03 22:23:27 +00:00
..
button Creating a new node with the (+) button (#3278) 2022-02-24 16:01:54 +00:00
drop-down-menu Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
drop-manager Bump Rust toolchain to nightly-2022-01-20. (#3255) 2022-02-16 12:58:02 +00:00
file-browser Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
flame-graph Flame Graph for Profiling Data (#3297) 2022-03-03 22:23:27 +00:00
gui Flame Graph for Profiling Data (#3297) 2022-03-03 22:23:27 +00:00
label Debug Mode for Graph Editor (#3264) 2022-02-14 11:19:08 +01:00
list-view Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
scroll-area Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
scrollbar Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
selector Integration Test Framework (#3257) 2022-02-11 13:19:02 +01:00
shadow Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
src Creating a new node with the (+) button (#3278) 2022-02-24 16:01:54 +00:00
text Flame Graph for Profiling Data (#3297) 2022-03-03 22:23:27 +00:00
toggle-button Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
Cargo.toml Flame Graph for Profiling Data (#3297) 2022-03-03 22:23:27 +00:00