code: function mark(markName) {
              if (enabled) {
                  marks[markName] = ts.timestamp();
                  counts[markName] = (counts[markName] || 0) + 1;
                  profilerEvent(markName);
              }
          }
docs: Marks a performance event.
  
  @param markName The name of the mark.