mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 03:21:44 +03:00
d3cc2c1025
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.
16 lines
556 B
TOML
16 lines
556 B
TOML
[package]
|
|
name = "ensogl-flame-graph"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
enso-frp = { path = "../../../frp" }
|
|
ensogl-core = { path = "../../core" }
|
|
enso-profiler-flame-graph = { path = "../../../profiler/flame-graph" }
|
|
enso-profiler = { path = "../../../profiler" }
|
|
ensogl-hardcoded-theme = { path = "../../app/theme/hardcoded" }
|
|
ensogl-text = { path = "../text" }
|
|
ensogl = { version = "0.1.0", path = "../../../ensogl" }
|
|
ensogl-gui-component = { version = "0.1.0", path = "../../component/gui" }
|