lib/ResponseArray.js
/**
   * Returns the average response time.
   * @return {Number} The average response time in ms.
   */
Returns the average response time.
@return {Number} The average response time in ms.
Returns the average response time . @return { Number } The average response time in ms .
get averageResponseTime() {
    if (this.length === 0) return 0;
    let sum = 0;
    this.forEach(e => { sum += e.duration; });
    return sum / this.length;
  }
get averageResponseTime ( ) { if ( this . length === 0 ) return 0 ; let sum = 0 ; this . forEach ( e => { sum += e . duration ; } ) ; return sum / this . length ; }
Returns the average response time.
Returns the average response time .