Sha256: fc84473868fd84a17aa8a278792a053602d60a064c592c7a4b8f9b0e141e168b
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
#!/usr/bin/env ruby require 'bullshit' load File.join(File.dirname(__FILE__), 'fibonacci.rb') FibonacciBenchmark.run false # to demonstrate loading, do not compare yet Bullshit.compare do benchmark FibonacciBenchmark, :fib_iter, :load => yes benchmark FibonacciBenchmark, :fib_memo, :load => yes end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bullshit-0.1.3 | examples/compare.rb |
bullshit-0.1.2 | examples/compare.rb |
bullshit-0.1.1 | examples/compare.rb |