Benchee v0.13.0 Benchee.Formatters.Console.Memory View Source
This deals with just the formatting of the run time results. They are similar to the way the memory results are formatted, but different enough to where the abstractions start to break down pretty significantly, so I wanted to extract these two things into separate modules to avoid confusion.
Link to this section Summary
Functions
Formats the memory statistics to a report suitable for output on the CLI. If all memory measurements are the same and we have a standard deviation of 0.0 for each scenario, we don’t show the statistics and report just on the single measured memory usage
Link to this section Types
unit_per_statistic() :: %{optional(atom()) => Benchee.Conversion.Unit.t()}
Link to this section Functions
format_scenarios([Benchee.Benchmark.Scenario.t()], map()) :: [String.t(), ...]
Formats the memory statistics to a report suitable for output on the CLI. If all memory measurements are the same and we have a standard deviation of 0.0 for each scenario, we don’t show the statistics and report just on the single measured memory usage.