9 # DO_TESTS = [:test_perf_inc_while_with_break]
12 (!Comparison.left? and !Comparison.right?)
15 def test_perf_inc_while_with_break
16 do_blah <<SRC, nil, [65131, 439]
28 def test_perf_instantiate_call_instance_method
29 do_blah <<SRC, nil, [9993, 848]
44 def test_perf_call_two_methods
45 do_blah <<SRC, nil, [6169, 866]
62 def test_perf_call_single_method
63 # TODO - this is broken when we use 2000 instead of 1000...
64 count = real_test? ? 1000 : 20
65 do_blah <<SRC, nil, [129206, 597]
78 def test_perf_trivial_while
79 do_blah <<SRC, nil, [9361, 344]
89 def test_perf_iterator
90 do_blah <<SRC, nil, [4635, 2649]
113 public_instance_methods.each {
115 next if meth !~ /^test.*/ or DO_TESTS.include? meth.to_sym
116 remove_method meth.to_sym
117 } if defined? DO_TESTS