Methods
- E
- N
- O
- R
- W
Constants
HEADER | = | 'measurement,created_at,app,rails,ruby,platform' |
Class Public methods
new(*args)
Link
Instance Public methods
environment()
Link
# File activesupport/lib/active_support/testing/performance.rb, line 200 def environment unless defined? @env app = "#{$1}.#{$2}" if File.directory?('.git') && %xgit branch -v` =~ /^\* (\S+)\s+(\S+)/ rails = Rails::VERSION::STRING if File.directory?('vendor/rails/.git') Dir.chdir('vendor/rails') do rails += ".#{$1}.#{$2}" if %xgit branch -v` =~ /^\* (\S+)\s+(\S+)/ end end ruby = defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby' ruby += "-#{RUBY_VERSION}.#{RUBY_PATCHLEVEL}" @env = [app, rails, ruby, RUBY_PLATFORM] * ',' end @env end
record()
Link
run()
Link
Instance Protected methods
output_filename()
Link
with_output_file()
Link