HTTP/2('http2')详情
【HTTP/2 ('http2') Details】
当 performanceEntry.type 等于 'http2' 时,performanceNodeEntry.detail 属性将是一个包含额外性能信息的 <Object>。
【When performanceEntry.type is equal to 'http2', the
performanceNodeEntry.detail property will be an <Object> containing
additional performance information.】
如果 performanceEntry.name 等于 Http2Stream,detail 将包含以下属性:
【If performanceEntry.name is equal to Http2Stream, the detail
will contain the following properties:】
bytesRead<number> 接收到此Http2Stream的DATA帧字节数。bytesWritten<number> 发送此Http2Stream的DATA帧字节数。id<number> 关联的Http2Stream的标识符。timeToFirstByte<number> 从PerformanceEntry的startTime到接收第一个DATA帧所经过的毫秒数。timeToFirstByteSent<number> 从PerformanceEntry的startTime到发送第一个DATA帧所经过的毫秒数。timeToFirstHeader<number> 从PerformanceEntry的startTime到接收第一个头部所经过的毫秒数。
如果 performanceEntry.name 等于 Http2Session,detail 将包含以下属性:
【If performanceEntry.name is equal to Http2Session, the detail will
contain the following properties:】
bytesRead<number> 此Http2Session接收的字节数。bytesWritten<number> 此Http2Session发送的字节数。framesReceived<number>Http2Session接收的 HTTP/2 帧的数量。framesSent<number>Http2Session发送的 HTTP/2 帧的数量。maxConcurrentStreams<number> 在Http2Session生命周期中同时打开的最大流数量。pingRTT<number> 从发送PING帧到收到其确认所经过的毫秒数。仅在该Http2Session发送过PING帧时才存在。streamAverageDuration<number> 所有Http2Stream实例的平均持续时间(以毫秒为单位)。streamCount<number>Http2Session处理的Http2Stream实例数量。type<string> 表示Http2Session类型,可为'server'或'client'。