Sha256: 273136b52c2760a6d8560d91f7f59a563cfa475f7a72fd450e43694e68e14033

Contents?: true

Size: 303 Bytes

Versions: 24

Compression:

Stored size: 303 Bytes

Contents

module RailsPerformance
  module Reports
    class BreakdownReport < BaseReport

      def set_defaults
        @sort ||= :datetimei
      end

      def data
        db.data
          .collect{|e| e.record_hash}
          .sort{|a, b| b[sort] <=> a[sort]}
      end
    end


  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
rails_performance-1.2.3 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.2 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.1 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.0 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.0.alpha5 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.0.alpha4 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.0.alpha3 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.0.alpha2 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.2.0.alpha1 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.1.0 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.5.3 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.5.2 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.5.1 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.5 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.4 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.3 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.2 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.1 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.0 lib/rails_performance/reports/breakdown_report.rb
rails_performance-1.0.0.beta5 lib/rails_performance/reports/breakdown_report.rb