struct Lapis::Benchmark::Context

Overview

Execution context passed to lifecycle hooks

Defined in:

libgodot/benchmarks.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(is_ci : Bool = false, enabled_features : Set(Symbol) = Set(Symbol).new, base_dir : Path = Path.new("."), iterations : Int32 = 3, metadata : Hash(String, String) = Hash(String, String).new) #

Instance Method Detail

def base_dir : Path #

def base_dir=(base_dir : Path) #

def enabled_features : Set(Symbol) #

def enabled_features=(enabled_features : Set(Symbol)) #

def is_ci : Bool #

def is_ci=(is_ci : Bool) #

def iterations : Int32 #

def iterations=(iterations : Int32) #

def metadata : Hash(String, String) #

def metadata=(metadata : Hash(String, String)) #