enso/app/gui
Kaz Wesley 0e904b2256
Profiling batch mode (#3428)
Implement a command that launches the application, runs a series of steps (a "workflow"), writes a profile to a file, and exits.

See: [#181775808](https://www.pivotaltracker.com/story/show/181775808)

# Important Notes
- The command to capture run and profile is used like: `./run profile --workflow=new_project --save-profile=out.json`. Defining some more workflows (collapse nodes, create node and edit value) comes next; they are implemented with the same infrastructure as the integration-tests.
- The `--save-profile` option can also be used when profiling interactively; when the option is provided, capturing a profile with the hotkey will write a file instead of dumping the data to the devtools console.
- If the IDE panics, the error message is now printed to the console that invoked the process, as well as the devtools console. (If a batch workflow fails, this allows us to see why.)
- New functionality (writing profile files, quitting on command, logging to console) relies on Electron APIs. These APIs are implemented in `index.js`, bridged to the render process in `preload.js`, and wrapped for use in Rust in a `debug_api` crate.
2022-05-10 19:34:40 +00:00
..
analytics Linting codebase 2022-03-10 05:32:33 +01:00
config Profiling batch mode (#3428) 2022-05-10 19:34:40 +00:00
controller Parametrize font in List View via styles (#3427) 2022-05-04 10:44:57 +00:00
docs Fix prettier formatting. Also, a typo. 2022-04-19 08:05:30 +02:00
enso-profiler-enso-data New profiling format (#3413) 2022-05-03 10:54:48 -07:00
language Parametrize font in List View via styles (#3427) 2022-05-04 10:44:57 +00:00
src Profiling batch mode (#3428) 2022-05-10 19:34:40 +00:00
tests Fixing build. 2022-03-10 06:21:57 +01:00
view Profiling batch mode (#3428) 2022-05-10 19:34:40 +00:00
Cargo.toml Profiling batch mode (#3428) 2022-05-10 19:34:40 +00:00
config.yaml Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01: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 Fix links to gui folder (#3190) 2021-12-12 23:43:25 +01:00

This is the repository for Enso's graphical interface component. If you're looking for the main product repository, 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.

Currently to start IDE you have to run Enso Project Manager first. For more information and packages see Enso repository.


Building

The project builds on MacOS, Linux, and Windows. Simply run node ./run build to build it and use node ./run --help to learn about other available commands and options. 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.