translateMemoryMetrics(memory) {
    return {
      // peak: peakWorkingSetSize
      workingSetSize: this.computeBytes(memory.workingSetSize),
      workingSetSizeCompare: memory.workingSetSize,
      privateBytes: this.computeBytes(memory.privateBytes),
      privateBytesCompare: memory.privateBytes,
      sharedBytes: this.computeBytes(memory.sharedBytes),
      sharedBytesCompare: memory.sharedBytes
    };
  }
/**
   * Creates a data model for memory usage metrics
   *
   * @param {Object} memory Memory metric
   * @return {Object} Memory usage metrics
   */
Creates a data model for memory usage metrics
@param {Object} memory Memory metric
@return {Object} Memory usage metrics
Creates a data model for memory usage metrics @param { Object } memory Memory metric @return { Object } Memory usage metrics
translateMemoryMetrics(memory) {
    return {
      workingSetSize: this.computeBytes(memory.workingSetSize),
      workingSetSizeCompare: memory.workingSetSize,
      privateBytes: this.computeBytes(memory.privateBytes),
      privateBytesCompare: memory.privateBytes,
      sharedBytes: this.computeBytes(memory.sharedBytes),
      sharedBytesCompare: memory.sharedBytes
    };
  }
translateMemoryMetrics ( memory ) { return { workingSetSize : this . computeBytes ( memory . workingSetSize ) , workingSetSizeCompare : memory . workingSetSize , privateBytes : this . computeBytes ( memory . privateBytes ) , privateBytesCompare : memory . privateBytes , sharedBytes : this . computeBytes ( memory . sharedBytes ) , sharedBytesCompare : memory . sharedBytes } ; }
Creates a data model for memory usage metrics
 @param {Object} memory Memory metric
 @return {Object} Memory usage metrics
Creates a data model for memory usage metrics @param { Object } memory Memory metric @return { Object } Memory usage metrics
// peak: peakWorkingSetSize