lib/perfer/job/iteration_job.rb
def round_for_eval(iterations)
      if @block
        iterations
      else
        ((iterations + repeat_eval - 1) / repeat_eval) * repeat_eval
      end
    end
# This factor ensure some margin,
# to avoid endlessly changing the number of iterations
This factor ensure some margin,
to avoid endlessly changing the number of iterations
This factor ensure some margin to avoid endlessly changing the number of iterations
def round_for_eval(iterations)
      if @block
        iterations
      else
        ((iterations + repeat_eval - 1) / repeat_eval) * repeat_eval
      end
    end
def round_for_eval ( iterations ) if @block iterations else ( ( iterations + repeat_eval - 1 ) / repeat_eval ) * repeat_eval end end
This factor ensure some margin,
to avoid endlessly changing the number of iterations
This factor ensure some margin to avoid endlessly changing the number of iterations
iterations