View Source Hologram.Benchmarks (hologram v0.2.0)

Summary

Functions

Generates 2 module digest PLTs that fullfill the conditions given in the arguments.

Functions

generate_module_digest_plts(added_modules_spec, removed_modules_spec, updated_modules_spec)

@spec generate_module_digest_plts(integer(), integer(), integer()) ::
  {Hologram.Commons.PLT.t(), Hologram.Commons.PLT.t()}

Generates 2 module digest PLTs that fullfill the conditions given in the arguments.

If the arguments are floats they are treated as percentage (0.2 == 20%), otherwise they are treated as (literal) number of modules.