Skip to content
Alberto edited this page Jan 11, 2016 · 2 revisions

Surprising good performance of transient in the free monad benchmark

The code of the benchmark and the instructions are at: https://github.com/agocorona/freemonad-benchmark

You can run it yourself. Follow the instructions

Currently it measures the time spent in modifying an Int state variable many times. It supposedly measures basically the overhead of the bind operation done many times plus simple state management.

Performance graph

Clone this wiki locally