hansel 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/hansel.gemspec +1 -1
- data/lib/octave_formatter.rb +4 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/hansel.gemspec
CHANGED
data/lib/octave_formatter.rb
CHANGED
@@ -35,14 +35,16 @@ class OctaveFormatter
|
|
35
35
|
hold on;
|
36
36
|
plot(rate, reply_rate_stddev, '-kh');
|
37
37
|
hold on;
|
38
|
-
plot(rate,
|
38
|
+
plot(rate, reply_time, '-g*');
|
39
|
+
hold on;
|
40
|
+
plot(rate, errors, '-r*');
|
39
41
|
|
40
42
|
grid on;
|
41
43
|
|
42
44
|
axis([0 #{rate.last} 0 #{rate.last}]);
|
43
45
|
title('Hansel report for #{@data[:server]}:#{@data[:port]}#{@data[:uri]} (#{@data[:num_conns]} connections per run)')
|
44
46
|
xlabel('Demanded Request Rate');
|
45
|
-
legend('Request Rate', 'Connection Rate', 'Avg. reply rate', 'Max. reply rate', 'Reply rate StdDev', 'Errors');
|
47
|
+
legend('Request Rate', 'Connection Rate', 'Avg. reply rate', 'Max. reply rate', 'Reply rate StdDev', 'Reply time', 'Errors');
|
46
48
|
print('#{@png_output}', '-dpng')
|
47
49
|
EOS
|
48
50
|
result = result.gsub ' ', ''
|