Skip to content

zeam-vm/logistic_map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogisticMap

Benchmark of Logistic Map using integer calculation and Flow.

Installation

Install rustup to install Rust tool chain according to https://rustup.rs

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"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/logistic_map.

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 Flow.map)
benchmarks3 pure Elixir(inlining inside of Flow.map)
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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published