Thrift module: benchmark

ModuleServicesData typesConstants
benchmark BenchmarkData
BenchmarkType
ConnectionType
NetworkOperationData
RequestType

Enumerations

Enumeration: RequestType


HomeFrontAndGroups0 Fetch the home and all its groups including personalised groups.
FrontAndGroups1 Fetch a front and associated groups.
Group2 Fetch a single group
List3 Fetch a list.
Item4 Fetch a single item.
Search5 Perform a search.

Enumeration: ConnectionType


Wifi0 The request was performed over Wifi.
WWAN1 The request was performed over a cellular connection.

Enumeration: BenchmarkType


TapToArticleDisplay0 Time to display an article from initial tap to DOM being ready.
LaunchTime1 Time from app launch to home front front being displayed.

Data structures

Struct: NetworkOperationData

KeyFieldTypeDescriptionRequirednessDefault value
1requestTypeRequestTypeThe request type. This can be a single HTTP call or a succession of requests. required
2measuredTimeMsi64The time to perform the operation, from the beginning of the request to processing the data. required
3connectionTypeConnectionTypeThe type of connection used for performing the request. optional
4successboolTrue if the request is considered successful. requiredtrue

Struct: BenchmarkData

KeyFieldTypeDescriptionRequirednessDefault value
1typeBenchmarkTypeAn ID that can be used to identify a type benchmark. required
2measuredTimeMsi64The amount of time (in milliseconds) measured by this benchmark. required