enso/app/gui
Kaz Wesley bd60a20bd3
Profiling workflows (#3475)
Define some workflows for batch-mode profiling.

Implemented:
- collapse nodes
- create node
- enter collapsed node
- new project
- open visualization

They can currently be built and run with a command like:
`./run.sh ide build --profiling-level=debug && dist/ide/linux-unpacked/enso --entry-point profile --workflow create_node --save-profile out.json`

And the data can be displayed with:
`dist/ide/linux-unpacked/enso --entry-point profiling_run_graph --load-profile out.json`

Demo of recording and viewing a profile with a command-line one-liner:

https://user-images.githubusercontent.com/1047859/169954795-2d9520ca-84f9-45d2-b83a-5063ebe6f718.mp4

See: https://www.pivotaltracker.com/story/show/182195399.

# Important Notes
- When defining workflows, two helpers are enough to allow us to tell when the action is really done: `Fixture::compile_new_shaders`, and `Fixture::backend_execution`. Often, it is appropriate to await both, but it depends on the task.
- The shader compiler is now driven by a `Controller`; while the `Compiler` is reset if context is lost, the `Controller`'s state survives context loss.
- A new `--load-profile` option supports specifying a profile by path when running `profiling_run_graph`.
- Drop the `with_same_start` profiler interface; we ended up preferring a child profiler convention, and this interface was not implemented compatibly with the stricter data model we've had since the introduction of `profiler::data`.
- Fix the noisy `rustfmt` output.
2022-06-01 18:01:16 +00:00
..
analytics Linting codebase 2022-03-10 05:32:33 +01:00
config Bumped the build script (#3489) 2022-06-01 13:44:40 +02:00
controller Profiling workflows (#3475) 2022-06-01 18:01:16 +00:00
docs Bumped the build script (#3489) 2022-06-01 13:44:40 +02:00
enso-profiler-enso-data New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
language New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
src Profiling workflows (#3475) 2022-06-01 18:01:16 +00:00
tests Fixing build. 2022-03-10 06:21:57 +01:00
view Profiling workflows (#3475) 2022-06-01 18:01:16 +00:00
Cargo.toml New IDE build script (#3466) 2022-05-23 04:16:04 +02:00
config.yaml Integration Test for getComponentGroups method (#3483) 2022-05-27 11:47:44 +00:00
LICENSE Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
README.md Bumped the build script (#3489) 2022-06-01 13:44:40 +02:00

This is the subtree for Enso's graphical interface component. If you're looking for the repository root, you may find it at at 👉 github.com/enso-org/enso 👈


Enso IDE

Overview

Chat License License

Enso is an award-winning interactive programming language with dual visual and textual representations. It is a tool that spans the entire stack, going from high-level visualisation and communication to the nitty-gritty of backend services, all in a single language. Watch the following introduction video to learn what Enso is, and how it helps companies build data workflows in minutes instead of weeks.

This repository contains the source code of Enso interface only. If you are interested in how the interface is build or you want to develop it with us, you are in the right place. See the development and contributing guidelines to learn more about the code structure and the development process.


Getting Started

Enso is distributed both in form of pre-build packages for MacOS, Windows, or Linux, as well as the source code. See the demo scenes, and read the documentation to learn more.


Building

The project builds on macOS, Linux, and Windows. Build functionality is provided by our build script, that are accessible through run (Linux and macOS) or run.cmd (Windows) wrappers.

To build the project, simply run ./run ide build (on Linux or macOS) or .\run.cmd ide build (Windows) to build IDE. To learn more about other available commands use --help argument. Read the detailed development guide to learn more.


License

The Enso Language Compiler is released under the terms of the Apache v2 License. The Enso Graphical Interface and it's rendering engine are released under the terms of the AGPL v3 License. This license set was choosen to both provide you with a complete freedom to use Enso, create libraries, and release them under any license of your choice, while also allowing us to release commercial products on top of the platform, including Enso Cloud and Enso Enterprise on-premise server managers.


Contributing

Enso is a community-driven open source project which is and will always be open and free to use. We are committed to a fully transparent development process and highly appreciate every contribution. If you love the vision behind Enso and you want to redefine the data processing world, join us and help us track down bugs, implement new features, improve the documentation or spread the word! Join our community on a Discord chat and read the development and contributing guidelines.