class HAR::PageTimings

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

Defined in:

har/page_timings.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(on_content_load : Float64 | Nil = nil, on_load : Float64 | Nil = nil, comment : Nil | String = nil) #

[View source]

Instance Method Detail

def comment : String | Nil #

A comment provided by the user or the application.


[View source]
def comment=(comment : String | Nil) #

A comment provided by the user or the application.


[View source]
def on_content_load : Float64 | Nil #

[View source]
def on_content_load=(on_content_load : Float64 | Nil) #

[View source]
def on_load : Float64 | Nil #

[View source]
def on_load=(on_load : Float64 | Nil) #

[View source]