Sha256: 0f621db05a0e0c42087c2a145ed8df266bf37d31275769bc6d4d1bfc5407a8d9

Contents?: true

Size: 593 Bytes

Versions: 6

Compression:

Stored size: 593 Bytes

Contents

#
# runbench.rb - TaskJuggler
#
# Copyright (c) 2007 by Chris Schlaeger <cs@kde.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License as
# published by the Free Software Foundation.
#
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'benchmark'
require 'TaskJuggler'

Benchmark.bm(25) do |x|
  Dir.glob('*.tjp').each do |f|
    x.report(f) do
      tj = TaskJuggler.new(true)
      tj.parse([ f ])
      tj.schedule
    end
  end
  Dir.glob('*.html').each { |f| File.delete(f) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
taskjuggler-0.0.7 benchmarks/runbench.rb
taskjuggler-0.0.6 benchmarks/runbench.rb
taskjuggler-0.0.5 benchmarks/runbench.rb
taskjuggler-0.0.4 benchmarks/runbench.rb
taskjuggler-0.0.3 benchmarks/runbench.rb
taskjuggler-0.0.2 benchmarks/runbench.rb