perf_check 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/perf_check/test_case.rb +1 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c171115c8d6a1dfc9d161a9bcf14ac4ae76c2e0
4
- data.tar.gz: 17ec095ca30b9d85930e030475f9bcaf635f643f
3
+ metadata.gz: 2f32bd6505a1db202028e0e905779bf4d0ba84e9
4
+ data.tar.gz: 50cecfa3a0f7ebc6c1ec29ae461f3664aa4384cb
5
5
  SHA512:
6
- metadata.gz: a2fd40b01892fde942cdb1fee0cc63ede390519415809e9e3e61e6c3fb21014f220f83908474b3490e75672738e0ad0d47ad798fe3658a9b69afbd281b7cecad
7
- data.tar.gz: 2151b9f8e40122d05d24c10e7f89b451372895fff14de71e6c2b5b281886a1efb34f8afdd5648027032a4c024f6c423b041698cf09fa627e6bfe505408d24de9
6
+ metadata.gz: b0aa955f9fe1536862c3b0712527de414077fc4f01ad4ce7f6d3b532b5c1650072cfc8903a3b3d8025ea63e4a5f0bdae8f46da905d96d8342174af673317f940
7
+ data.tar.gz: 97943c106588134e841700329f88af12aebf1f96faca2d3e6e5b81f9ecda5a508e1e16aa28cd9260f778268c789aafe091a963663a9a585510518d9c90904cc9
@@ -24,7 +24,7 @@ class PerfCheck
24
24
  print(" "+'server rss'.underline)
25
25
  puts(" "+'profiler data'.underline)
26
26
 
27
- (options.number_of_requests+1).times do |i|
27
+ options.number_of_requests.times do |i|
28
28
  profile = server.profile do |http|
29
29
  http.get(resource, {'Cookie' => "#{cookie}"})
30
30
  end
@@ -41,10 +41,6 @@ class PerfCheck
41
41
  exit(1)
42
42
  end
43
43
 
44
- # Disregard initial request, since in dev. mode it includes
45
- # all the autoload overhead (?)
46
- next if i.zero?
47
-
48
44
  printf("\t%2i:\t %.1fms %4dMB\t %s\n",
49
45
  i, profile.latency, server.mem, profile.profile_url)
50
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perf_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubytune