function Event(type) {
    var me = this;
    return (me && me.constructor != Event)
      ? new Event(type)
      : (type instanceof Event)
          ? type
          : extend(me, typeof type == 'string' ? { 'type': type } : type);
  }
Event constructor.
@constructor
@memberOf Benchmark
@param {String|Object} type The event type.