Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.275 kB
require 'spec/helper'
require 'logger'
require 'benchmark'
# Delayed::Worker.logger = Logger.new('/dev/null')
Benchmark.bm(10) do |x|
Delayed::Job.delete_all
n = 10000
n.times { "foo".delay.length }
x.report { Delayed::Worker.new(:quiet => true).work_off(n) }
end
Jump to Line
Something went wrong with that request. Please try again.