Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Benchmark::IPS::Entry
Inherits
Reference
/
Object
Constructors
new
(label :
String
, action :
Proc
(
Nil
))
Source
new
(label :
String
|
Colorize::Object
(
String
), action :
Int32
-> _ | -> _)
Source
Instance methods
action
Code to be benchmarked
Source
action=
(action :
Proc
(
Int32
,
Nil
) |
Proc
(
Nil
))
Source
calculate_stats
(samples) :
Nil
Source
call
Source
call_for_100ms
Source
label
Label of the benchmark
Source
label=
(label :
String
|
Colorize::Object
(
String
))
Source
ran=
(ran :
Bool
)
Source
separator=
(separator :
Bool
)
Source
separator?
Source