enso/lib/rust
Mateusz Czapliński e69e8078c3
Add code allowing calculation of EnsoGL stats summaries (#3252)
This change adds utility code for calculating summaries from multiple samples (snapshots) of EnsoGL runtime stats values.

This internal feature is expected to be used by Enso IDE performance profiling tools, which are planned to be added in the near future.

https://www.pivotaltracker.com/story/show/181093920

A demo scene named `stats` was added, showcasing how to perform calculations using the new tools. Currently, the summary calculations in the scene work only when the EnsoGL stats Monitor Panel is visible; this is planned to be improved in a future task (https://www.pivotaltracker.com/story/show/181093601).

 - Note: the stats aggregation code is intended to be later used in Enso IDE's main rendering loop, so it needs to have very good performance characteristics. 
     - Due to that, `Accumulator` was designed to only use simple addition arithmetic, and be constant-memory once created.
2022-02-08 14:58:46 +01:00
..
automata Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
build-utils Revert "Implement basic performance logging API. (#3169)" 2022-01-14 12:40:28 +00:00
callback Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
code-builder Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
config-reader Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
data-structures Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
ensogl Add code allowing calculation of EnsoGL stats summaries (#3252) 2022-02-08 14:58:46 +01:00
frp Fix visualizations scrolling bug on Mac (#3215) 2022-01-10 14:51:59 +03:00
fuzzly Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
generics Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
json-rpc Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
launcher-shims Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
logger doc: improve and expand docs of enso_logger crate (#3211) 2022-01-11 15:21:06 +01:00
macro-utils Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
not-used Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
optics Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
parser Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
prelude Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
shapely Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
shortcuts Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
text Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00
types Add code allowing calculation of EnsoGL stats summaries (#3252) 2022-02-08 14:58:46 +01:00
web Switch to 2021 edition (#3173) 2021-12-01 16:06:57 +01:00