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.
- checksums.yaml +4 -4
- data/lib/perf_check/test_case.rb +1 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f32bd6505a1db202028e0e905779bf4d0ba84e9
|
4
|
+
data.tar.gz: 50cecfa3a0f7ebc6c1ec29ae461f3664aa4384cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0aa955f9fe1536862c3b0712527de414077fc4f01ad4ce7f6d3b532b5c1650072cfc8903a3b3d8025ea63e4a5f0bdae8f46da905d96d8342174af673317f940
|
7
|
+
data.tar.gz: 97943c106588134e841700329f88af12aebf1f96faca2d3e6e5b81f9ecda5a508e1e16aa28cd9260f778268c789aafe091a963663a9a585510518d9c90904cc9
|
data/lib/perf_check/test_case.rb
CHANGED
@@ -24,7 +24,7 @@ class PerfCheck
|
|
24
24
|
print(" "+'server rss'.underline)
|
25
25
|
puts(" "+'profiler data'.underline)
|
26
26
|
|
27
|
-
|
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
|
|