rails_performance 0.0.1.5 → 0.0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6810e07a3e81d629d2ea4933dc54167ee92914077ea0d6171e2e5c5daa6112cd
4
- data.tar.gz: ae07b67293815fbe1456dafe09212f9598e3da7714989c8eb7d7b583e0d6fa78
3
+ metadata.gz: 2a1fe4e6d5f14c9d084580147243e3276892bbebdbc6ac301949db7b29295aee
4
+ data.tar.gz: c54c0c66a44cd8a5acee8de72c7455c0190e926983f28142a078f407249a6b5d
5
5
  SHA512:
6
- metadata.gz: 797fa181f1b6dddcf94b5dce0cd8ce3c238fa6ec003b37f74ca540aa57896eea0ed0bb60dd121a0c112e2d966d4d8b637b04bdf29e3a459b1e1a957cca317bb5
7
- data.tar.gz: effa86b38a58301915bed0b0a93fb09bc354eb0ffd40d15e63aff61f7222bf758f5d7b3b5767bad5ffd8d5d1f4650f96d905d591c6392eb783ce821d5ab88442
6
+ metadata.gz: f3eaaee2a6d6d31c2552c0688d7a4ae14643fee8632761f84452416abf9afe703eda7dd76f3c758421fc0bd3b43d579e6d4abfc9b5a38d902ec5d0ba320a459f
7
+ data.tar.gz: e1a68247409672778b646d6d9b58b96f697fbb7f01c8a21d59f91bfa24d41a21f2c52d2b5d86c5448181e3e2c6810ab8ce0d349f1d5fd06c358c0261182fa6ad
@@ -10,15 +10,15 @@ module RailsPerformance
10
10
  if record = Thread.current["RP_request_info"]
11
11
  record[:status] ||= @status
12
12
 
13
- rand(100).times do |e|
14
- finished = Time.now - rand(2000).minutes
15
- record[:datetime] = finished.strftime(RailsPerformance::MetricsCollector::FORMAT)
16
- record[:datetimei] = finished.to_i
17
- record[:duration] = 50 + rand(100) + rand(50.0)
18
- record[:db_runtime] = rand(50.0)
19
- record[:view_runtime] = rand(50.0)
20
- RP::Utils.log_in_redis(record)
21
- end
13
+ # rand(100).times do |e|
14
+ # finished = Time.now - rand(2000).minutes
15
+ # record[:datetime] = finished.strftime(RailsPerformance::MetricsCollector::FORMAT)
16
+ # record[:datetimei] = finished.to_i
17
+ # record[:duration] = 50 + rand(100) + rand(50.0)
18
+ # record[:db_runtime] = rand(50.0)
19
+ # record[:view_runtime] = rand(50.0)
20
+ # RP::Utils.log_in_redis(record)
21
+ # end
22
22
 
23
23
  RP::Utils.log_in_redis(record)
24
24
 
@@ -1,3 +1,3 @@
1
1
  module RailsPerformance
2
- VERSION = '0.0.1.5'
2
+ VERSION = '0.0.1.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_performance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.5
4
+ version: 0.0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kasyanchuk