Sha256: d42314c018ecd221cf81d16691b38217342c80a5a5df0d66a5bef64e305c05a7

Contents?: true

Size: 390 Bytes

Versions: 21

Compression:

Stored size: 390 Bytes

Contents

module Benchmark::Driver
  class Error < StandardError
  end

  class ExecutionTimeTooShort < Error
    def initialize(job, iterations)
      @job = job
      @iterations = iterations
    end

    def message
      "Execution time of job #{@job.name.dump} was too short in #{@iterations} executions;\n  "\
        'Please retry, try slower script or increase loop_count.'
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
benchmark_driver-0.8.6 lib/benchmark/driver/error.rb
benchmark_driver-0.8.5 lib/benchmark/driver/error.rb
benchmark_driver-0.8.4 lib/benchmark/driver/error.rb
benchmark_driver-0.8.3 lib/benchmark/driver/error.rb
benchmark_driver-0.8.2 lib/benchmark/driver/error.rb
benchmark_driver-0.8.1 lib/benchmark/driver/error.rb
benchmark_driver-0.8.0 lib/benchmark/driver/error.rb
benchmark_driver-0.7.2 lib/benchmark/driver/error.rb
benchmark_driver-0.7.1 lib/benchmark/driver/error.rb
benchmark_driver-0.7.0 lib/benchmark/driver/error.rb
benchmark_driver-0.6.2 lib/benchmark/driver/error.rb
benchmark_driver-0.6.1 lib/benchmark/driver/error.rb
benchmark_driver-0.6.0 lib/benchmark/driver/error.rb
benchmark_driver-0.5.1 lib/benchmark/driver/error.rb
benchmark_driver-0.5.0 lib/benchmark/driver/error.rb
benchmark_driver-0.4.5 lib/benchmark/driver/error.rb
benchmark_driver-0.4.4 lib/benchmark/driver/error.rb
benchmark_driver-0.4.3 lib/benchmark/driver/error.rb
benchmark_driver-0.4.2 lib/benchmark/driver/error.rb
benchmark_driver-0.4.1 lib/benchmark/driver/error.rb