class Benchmark::IPS::Entry
- Benchmark::IPS::Entry
- Reference
- Object
Defined in:
base58/extensions/benchmark.crConstructors
- .new(label : String, action : Proc(Nil))
- .new(label : String | Colorize::Object(String), action : Int32 -> _ | -> _)
Instance Method Summary
-
#action : Proc(Int32, Nil) | Proc(Nil)
Code to be benchmarked
- #action=(action : Proc(Int32, Nil) | Proc(Nil))
- #calculate_stats(samples) : Nil
- #call : Nil
- #call_for_100ms : Nil
-
#label : String | Colorize::Object(String)
Label of the benchmark
- #label=(label : String | Colorize::Object(String))
- #ran=(ran : Bool)
- #separator=(separator : Bool)
- #separator? : Bool