https://github.com/akabe/ocaml-lwt-async-benchmark
A benchmark of Lwt and Jane Street Async
https://github.com/akabe/ocaml-lwt-async-benchmark
Last synced: about 1 year ago
JSON representation
A benchmark of Lwt and Jane Street Async
- Host: GitHub
- URL: https://github.com/akabe/ocaml-lwt-async-benchmark
- Owner: akabe
- License: mit
- Created: 2017-07-08T05:37:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-08T10:02:03.000Z (almost 9 years ago)
- Last Synced: 2025-02-10T12:36:20.795Z (over 1 year ago)
- Language: OCaml
- Size: 20.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ocaml-lwt-async-benchmark
A benchmark of [Lwt](https://ocsigen.org/lwt/3.0.0/manual/manual) and [Jane Street Async](https://janestreet.github.io/).
```
omake run -j1
```
## Simple loops
A benchmark of loops that do nothing. This measures overhead of a context switch.
- 1,000,000 times iteration per a thread

## Communication
Communication between two threads: `Async.Pipe` and `Lwt_stream`
- 1,000 times sending and receiving per a thread pair.
