# LogisticMap

Benchmark of Logistic Map using integer calculation and `Flow`.

## Installation

Install rustup to install Rust tool chain according to 

It is [available in Hex](, so the package can be installed
by adding `logistic_map` to your list of dependencies in `mix.exs`:

def deps do
    {:logistic_map, "~> 1.1.0"}

Documentation can be generated with [ExDoc](
and published on [HexDocs]( Once published, the docs can
be found at [](

## Usage

To run all benchmarks,

$ mix run -e "LogisticMap.allbenchmarks"

The scores are better if it is smaller.

The benchmarks consists of as follows:

|benchmark name|description|
|benchmarks1   |pure Elixir(loop)|
|benchmarks2   |pure Elixir(inlining outside of|
|benchmarks3   |pure Elixir(inlining inside of|
|benchmarks4   |pure Elixir(loop: variation)|
|benchmarks5   |Rustler loop, passing by list|
|benchmarks6   |Rustler loop, passing by binary created by Elixir|
|benchmarks7   |Rustler loop, passing by binary created by Rustler|
|benchmarks8   |Rustler loop, passing by list, with Window|