code: function Event(type) {
        var event = this;
        if (type instanceof Event) {
          return type;
        }
        return (event instanceof Event)
          ? _.assign(event, { 'timeStamp': _.now() }, typeof type == 'string' ? { 'type': type } : type)
          : new Event(type);
      }
docs: The Event constructor.
  
  @constructor
  @memberOf Benchmark
  @param {Object|string} type The event type.