module Minitest::Perf::Plugin

Public Instance Methods

after_teardown() click to toggle source
Calls superclass method
# File lib/minitest/perf/plugin.rb, line 9
def after_teardown
  super
  current_perf_run.finish(self.class.name, name)
end
before_setup() click to toggle source
Calls superclass method
# File lib/minitest/perf/plugin.rb, line 4
def before_setup
  current_perf_run.start(self.class.name, name)
  super
end
current_perf_run() click to toggle source
# File lib/minitest/perf/plugin.rb, line 14
def current_perf_run
  @@current_perf_run ||= Minitest::Perf::Run.new
end