Sha256: 65de8e760c511c55a3fa0445e970b97823219b80cfae9e9948d058453ae1a0b0

Contents?: true

Size: 537 Bytes

Versions: 34

Compression:

Stored size: 537 Bytes

Contents

# encoding: utf-8
# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details.

module Performance
  class BaselineSaveReporter
    include Reporting

    def initialize(results, elapsed, options={})
      @results = results
      @elapsed = elapsed
      @options = options
    end

    def report
      report_summary

      Baseline.save!(successes)
      puts "Saved #{successes.size} results as baseline."

      report_failed_results
    end
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
newrelic_rpm-3.13.1.300 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.13.0.299 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.12.1.298 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.12.0.288 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.11.2.286 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.11.1.284 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.11.0.283 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.10.0.279 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.9.9.275 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.9.8.273 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.9.7.266 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.9.6.257 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.9.5.251 test/performance/lib/performance/baseline_save_reporter.rb
newrelic_rpm-3.9.4.245 test/performance/lib/performance/baseline_save_reporter.rb