class HAR::PageTimings
- HAR::PageTimings
- Reference
- Object
Overview
This object describes timings for various events (states) fired during the page load. All times are specified in milliseconds.
NOTE If a time info is not available appropriate field is set to -1
.
Depeding on the browser, #on_content_load
property represents
DOMContentLoad
event or document.readyState == interactive
.
Included Modules
- JSON::Serializable
Defined in:
har/page_timings.crConstructors
- .new(pull : JSON::PullParser)
- .new(on_content_load : Float64 | Nil = nil, on_load : Float64 | Nil = nil, comment : Nil | String = nil)
Instance Method Summary
-
#comment : String | Nil
A comment provided by the user or the application.
-
#comment=(comment : String | Nil)
A comment provided by the user or the application.
- #on_content_load : Float64 | Nil
- #on_content_load=(on_content_load : Float64 | Nil)
- #on_load : Float64 | Nil
- #on_load=(on_load : Float64 | Nil)
Constructor Detail
def self.new(on_content_load : Float64 | Nil = nil, on_load : Float64 | Nil = nil, comment : Nil | String = nil)
#