Sha256: 4773bbe2b02733008f1d5a4ccc2fa4a5d65b429d05d59a2608b68b2b9f4ff7bd

Contents?: true

Size: 195 Bytes

Versions: 5

Compression:

Stored size: 195 Bytes

Contents

require 'benchmark'
require 'roxbury'

calendar = Roxbury::BusinessCalendar.new(working_hours: Hash.new(5..21))
puts Benchmark.measure { 100.times { calendar.add_working_days Date.today, 500 } }

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roxbury-0.3.0 bin/benchmark.rb
roxbury-0.2.3 bin/benchmark.rb
roxbury-0.2.2 bin/benchmark.rb
roxbury-0.2.1 bin/benchmark.rb
roxbury-0.1.1 bin/benchmark.rb