code: function resolve() {
        var deferred = this,
            clone = deferred.benchmark,
            bench = clone._original;
  
        if (bench.aborted) {
          // cycle() -> clone cycle/complete event -> compute()'s invoked bench.run() cycle/complete.
          deferred.teardown();
          clone.running = false;
          cycle(deferred);
        }
        else if (++deferred.cycles < clone.count) {
          clone.compiled.call(deferred, context, timer);
        }
        else {
          timer.stop(deferred);
          deferred.teardown();
          delay(clone, function() { cycle(deferred); });
        }
      }
docs: /*------------------------------------------------------------------------ 
  Handles cycling/completing the deferred benchmark.
  
  @memberOf Benchmark.Deferred