Sha256: d485720a0083c35487abc16eac1916d53f95d0371cd5f72fee542a6d16172dd6
Contents?: true
Size: 492 Bytes
Versions: 4
Compression:
Stored size: 492 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper' require 'rubygems' require 'ruby-prof' class SlowActionsBenchmarkTest < Test::Unit::TestCase if ENV['BENCH'] include RubyProf::Test def setup @log_file = File.join(File.dirname(__FILE__), 'data', 'development.log') end def test_loading_fifty_meg_log_file @sa = SlowActions.new @sa.parse_file(@log_file) end else def test_nothing_because_were_not_benchmarking assert true end end end
Version data entries
4 entries across 4 versions & 2 rubygems