rails_performance 0.0.1.8 → 0.0.1.9

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: ad863c06b721b0cc4310bc0ed47ea24260d1d4506b84ff77dc89884efe039407
4
- data.tar.gz: 4cd6dfae47e6331e1c0094566f9777e65b8eaec9eaf4b4defdbc0e26e0b8a758
3
+ metadata.gz: 3a5f0e5036c6f4c06d9ff912d6c026d3fb935dfc69c0d877948ec84fe93937fa
4
+ data.tar.gz: 78c4b2c4dbfdc08f216b4187c1039bdf47d9603cf1088b57b70304f1fd3e3a97
5
5
  SHA512:
6
- metadata.gz: 9199bca9141f1e8a9753b71cd517f592ab611ae8b00bf2b41bb7f4585b2189661f9ebcead00614483e0878b2cc6c87569edc978efa252f9a27767d87ef169adf
7
- data.tar.gz: 40cacc58ffbbe33da582912aee967ab64cf71f527ce5bcc60d684d84787f21c967e2ce4e6ddbba33580c544a275776a09ed8e166dce41b833958432544c5f524
6
+ metadata.gz: 84e4085cdcc3f560087a4930294d727289dd0c9c38cb7475afb33f5e7b5729c5142ba8b46f2e2426296f1b09ee6e285f629158b2bba4b527c31ad3adcd982426
7
+ data.tar.gz: abcbf22a10f4b03ff4b800b85c08c79de1c664b8bde79491e4e4d24ffe4d78f84005db5a2024e98412739dfc95fa6d7e1bbe57e78796cb24b6b1e9cfb422fafd
@@ -11,15 +11,15 @@ module RailsPerformance
11
11
  if record = Thread.current["RP_request_info"]
12
12
  record[:status] ||= @status
13
13
 
14
- rand(500).times do |e|
15
- finished = Time.now - rand(2000).minutes
16
- record[:datetime] = finished.strftime(RailsPerformance::FORMAT)
17
- record[:datetimei] = finished.to_i
18
- record[:duration] = 50 + rand(100) + rand(50.0) + rand(e)
19
- record[:db_runtime] = rand(50.0)
20
- record[:view_runtime] = rand(50.0)
21
- RP::Utils.log_in_redis(record)
22
- end
14
+ # rand(500).times do |e|
15
+ # finished = Time.now - rand(2000).minutes
16
+ # record[:datetime] = finished.strftime(RailsPerformance::FORMAT)
17
+ # record[:datetimei] = finished.to_i
18
+ # record[:duration] = 50 + rand(100) + rand(50.0) + rand(e)
19
+ # record[:db_runtime] = rand(50.0)
20
+ # record[:view_runtime] = rand(50.0)
21
+ # RP::Utils.log_in_redis(record)
22
+ # end
23
23
 
24
24
  RP::Utils.log_in_redis(record)
25
25
 
@@ -1,3 +1,3 @@
1
1
  module RailsPerformance
2
- VERSION = '0.0.1.8'
2
+ VERSION = '0.0.1.9'
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.8
4
+ version: 0.0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Kasyanchuk