Sha256: b01a05304d950e8d35bcb2fa7168b74a36a6c5ed99cdfdb8f9adb19cdb7e0e7f
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
Contents
require "redis" require "redis-namespace" require_relative "rails_performance/rails/query_builder.rb" require_relative "rails_performance/rails/middleware.rb" require_relative "rails_performance/data_source.rb" require_relative "rails_performance/models/record.rb" require_relative "rails_performance/utils.rb" require_relative "rails_performance/reports/base_report.rb" require_relative "rails_performance/reports/requests_report.rb" require_relative "rails_performance/reports/crash_report.rb" require_relative "rails_performance/reports/response_time_report.rb" require_relative "rails_performance/reports/throughput_report.rb" require_relative "rails_performance/reports/breakdown_report.rb" require "rails_performance/engine" module RailsPerformance FORMAT = "%Y%m%dT%H%M" mattr_accessor :redis @@redis = Redis::Namespace.new("#{::Rails.env}-rails-performance", redis: Redis.new) mattr_accessor :duration @@duration = 24.hours mattr_accessor :debug @@debug = false def self.setup yield(self) end end RP = RailsPerformance
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_performance-0.0.1.9 | lib/rails_performance.rb |
rails_performance-0.0.1.8 | lib/rails_performance.rb |