View Source Benchee.System (Benchee v1.3.1)

Provides information about the system the benchmarks are run on.

Includes information such as elixir/erlang version, OS, CPU and memory.

So far supports/should work for Linux, MacOS, FreeBSD, Solaris and Windows.

Summary

Functions

Adds system information to the suite (currently elixir and erlang versions).

Types

@type t() :: %Benchee.System{
  available_memory: String.t(),
  cpu_speed: String.t(),
  elixir: String.t(),
  erlang: String.t(),
  jit_enabled?: boolean(),
  num_cores: pos_integer(),
  os: :macOS | :Windows | :FreeBSD | :Solaris | :Linux
}

Functions

@spec system(Benchee.Suite.t()) :: Benchee.Suite.t()

Adds system information to the suite (currently elixir and erlang versions).