docs: function measure(measureName, startMarkName, endMarkName) {
              if (enabled) {
                  var end = endMarkName && marks[endMarkName] || ts.timestamp();
                  var start = startMarkName && marks[startMarkName] || profilerStart;
                  measures[measureName] = (measures[measureName] || 0) + (end - start);
              }
          }