mirror of
https://github.com/enso-org/enso.git
synced 2024-12-21 17:41:32 +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.
13 lines
250 B
TOML
13 lines
250 B
TOML
[package]
|
|
name = "enso-profiler-flame-graph"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
|
|
[dependencies]
|
|
enso-profiler = { path = "../" }
|
|
enso-profiler-data = { path = "../data" }
|
|
|
|
[dev-dependencies]
|
|
futures = "0.3"
|