class Benchy::Project

Defined in:

benchy.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(manifest : Manifest, base_dir : Path, verbose : Bool = false) #

[View source]

Class Method Detail

def self.build_configurations(manifest) #

[View source]
def self.build_samplers(manifest) : Hash(String, ExtractSampleProc) #

[View source]

Instance Method Detail

def after : String | Nil #

def after_each : String | Nil #

def base_dir : Path #

[View source]
def before : String | Nil #

def before_each : String | Nil #

def configuration_keys : Array(String) #

[View source]
def configurations : Array(Configuration) #

[View source]
def context : Hash(String, String) #

[View source]
def exec(cmd : String, configuration : Configuration | Nil) : String #

[View source]
def exec_after #

[View source]
def exec_after_each(configuration : Configuration) #

[View source]
def exec_before #

[View source]
def exec_before_each(configuration : Configuration) #

[View source]
def extract_measures(main_output, configuration) #

[View source]
def get_output(cmd : String, configuration : Configuration | Nil) : String #

[View source]
def loader : String | Nil #

[View source]
def main : String #

[View source]
def measure_keys : Array(String) #

[View source]
def name : String #

[View source]
def repeat : Int32 #

[View source]
def run(run_logger, *, config_selector = nil, repeat = nil) : Array(RunResult) #

[View source]
def run_once(configuration : Configuration, run_logger, config_index, run_index) : RunOnceResult #

[View source]
def runnable_configurations(config_selector = nil) #

[View source]