Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ocaml-multicore/meio
Monitor Eio programs
https://github.com/ocaml-multicore/meio
console terminal
Last synced: 8 days ago
JSON representation
Monitor Eio programs
- Host: GitHub
- URL: https://github.com/ocaml-multicore/meio
- Owner: ocaml-multicore
- License: mit
- Created: 2022-02-11T21:58:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T19:05:05.000Z (9 months ago)
- Last Synced: 2024-08-05T15:06:40.539Z (3 months ago)
- Topics: console, terminal
- Language: OCaml
- Homepage:
- Size: 7.54 MB
- Stars: 76
- Watchers: 3
- Forks: 6
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
meio
----*Status: Experimental*
Meio is a CLI tool for monitoring programs using [Eio][]. It allows you to see, in real-time, the running and idle fibers of your program along with the structure of the fiber tree. Fibers are also labelled with where they were spawned from and each individual fiber carries extra information about how busy it is, how often it is entered and the debug logs that have been run from the fiber. Here's what Meio looks like:
![Meio on asciicast](./.screencast/example.gif)
### Building meio
Meio uses custom events which will be available in OCaml 5.1. This means currently you must use a few forked libraries.
To build Meio locally:
```
$ opam switch create . 5.1.0~rc1 --no-install
$ opam install --deps-only .
$ dune build
```You can install meio with `dune install ./meio.opam` and then run one of the example programs from Meio.
```
$ meio _build/default/example/burn.exe
```[Eio]: https://github.com/ocaml-multicore/eio