struct
Rubellite::Profiler::ProfileReport
- Rubellite::Profiler::ProfileReport
- Struct
- Value
- Object
Overview
Benchmark result summary comparing YARV bytecode execution vs. Spinel native execution
Defined in:
rubellite/profiler.crConstructors
Instance Method Summary
-
#inspect(io : IO) : Nil
Appends this struct's name and instance variables names and values to the given IO.
- #iterations : Int32
- #ruby_time : Time::Span
- #speedup : Float64
- #spinel_time : Time::Span
-
#to_s(io : IO) : Nil
Same as
#inspect(io).
Constructor Detail
Instance Method Detail
Description copied from struct Struct
Appends this struct's name and instance variables names and values to the given IO.
struct Point
def initialize(@x : Int32, @y : Int32)
end
end
p1 = Point.new 1, 2
p1.to_s # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"