gas_load_tester 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gas_load_tester/chart_builder.rb +5 -2
- data/lib/gas_load_tester/version.rb +1 -1
- 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: f664cb24ddded620b5b68d671d162f165ef7ba5e
|
4
|
+
data.tar.gz: 1edb5eb41ccea8dc549c873ad42748a49772d8f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2df17274919fc86d244a7f09bb6b090fd9dca21e498bd9815bdeb738764be4f6e8707135266ffdaa07dce5df1bfb82eb24584221a1f41fee5d24e81c915c41e7
|
7
|
+
data.tar.gz: e3f5736cd9885ca0d111cb7f3b96eb6d4bb3360305245657bccd4103cd68bc9ad35c3e6ac78a31f24b01ad73faa351721f84be41f252dec09dbeb564a189ad1b
|
@@ -68,7 +68,8 @@ module GasLoadTester
|
|
68
68
|
<tr style=\"border: 1px solid black; border-collapse: collapse;\">
|
69
69
|
<th width=\"10%\" style=\"border: 1px solid black; border-collapse: collapse;\">client</th>
|
70
70
|
<th width=\"10%\" style=\"border: 1px solid black; border-collapse: collapse;\">time (sec)</th>
|
71
|
-
<th width=\"
|
71
|
+
<th width=\"10%\" style=\"border: 1px solid black; border-collapse: collapse;\">clients/sec</th>
|
72
|
+
<th width=\"10%\" style=\"border: 1px solid black; border-collapse: collapse;\">average_time (ms)</th>
|
72
73
|
<th width=\"15%\" style=\"border: 1px solid black; border-collapse: collapse;\">min_time (ms)</th>
|
73
74
|
<th width=\"15%\" style=\"border: 1px solid black; border-collapse: collapse;\">max_time (ms)</th>
|
74
75
|
<th width=\"15%\" style=\"border: 1px solid black; border-collapse: collapse;\">success</th>
|
@@ -83,7 +84,8 @@ module GasLoadTester
|
|
83
84
|
test.summary_min_time.round(4),
|
84
85
|
test.summary_max_time.round(4),
|
85
86
|
test.summary_success,
|
86
|
-
test.summary_error
|
87
|
+
test.summary_error,
|
88
|
+
test.request_per_second
|
87
89
|
]
|
88
90
|
}
|
89
91
|
min_avg = group_data.collect{|test_data| test_data[2] }.sort.first
|
@@ -97,6 +99,7 @@ module GasLoadTester
|
|
97
99
|
"<tr style=\"border: 1px solid black; border-collapse: collapse;\">
|
98
100
|
<td style=\"border: 1px solid black; border-collapse: collapse;\">#{test_data[0]}</td>
|
99
101
|
<td style=\"border: 1px solid black; border-collapse: collapse;\">#{test_data[1]}</td>
|
102
|
+
<td style=\"border: 1px solid black; border-collapse: collapse;\">#{test_data[7]}</td>
|
100
103
|
<td style=\"border: 1px solid black; border-collapse: collapse; #{
|
101
104
|
if test_data[2] == min_avg
|
102
105
|
"color: green; font-weight:bold;"
|