class Minitest::BenchSpec

def self.bench_performance_constant name, threshold = 0.99, &work

def self.bench_performance_constant name, threshold = 0.99, &work
  bench name do
    assert_performance_constant threshold, &work
  end
end