Beamchmark

Hex.pmAPI DocsCircleCI

Tool for measuring EVM performance.

At the moment, the main interest of Beamchmark is scheduler utilization, reductions and the number of context switches. For more information please refer to API docs.

Beamchmark and Benchee

Beamchmark should be used when you want to measure BEAM performance while it is running your application. Benchee should be used when you want to benchmark specific function from your code base. In particular, Benchee will inform you how long your function is executing, while Beamchmark will inform you how busy BEAM is.

Installation

The package can be installed by adding beamchmark to your list of dependencies in mix.exs:

def deps do
  [
    {:beamchmark, "~> 1.2.0"}
  ]
end

Usage

To run an example, simply use the following command:

mix run examples/<example_name>.exs

Formatters

You can output benchmark results with Beamchmark’s built-in formatters or implement a custom one. Formatters can also compare new results with the previous ones, given they share the same scenario module and were configured to run for the same amount of time.

Currently, you can output Beamchmark reports in the following ways:

Copyright and License

Copyright 2021, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0