Function: getBandwidthBps()
ts
function getBandwidthBps(sample): number;Defined in: getBandwidthBps.ts:11
Converts a ResourceTiming sample to bandwidth in bits per second.
Parameters
sample
A ResourceTiming sample
Returns
number
The bandwidth in bits per second.