code: function heapUsageP(heapData, options) {
          return co(_heap, heapData, options);
  
          /**
           * 内部处理逻辑
           */
          function* _heap(heapData, options) {
              options = options || {};
  
              const rootIndex = heapData.snapshot.root_index || 0;
              let jsHeapSnapShot = yield heapSnapShotCalculateP(heapData, options);
              let leakPoint = peakLeakPoint(jsHeapSnapShot, rootIndex, options.limit);
  
              return { leakPoint, jsHeapSnapShot, rootIndex };
          }
      }
docs: /*
  获取 heapsnapshot