RoadRunner 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,31 @@
1
+ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
2
+
3
+ require 'rubygems'
4
+ require 'roadrunner'
5
+ require 'rfuzz/client'
6
+ require 'httparty'
7
+
8
+ rclient=RoadRunner.new
9
+ #client.mode = 'thread'
10
+
11
+ rclient.init do
12
+ # users决定同时有多少并发用户一起执行action
13
+ # iterations决定每个用户执行多少次
14
+ @rc = RFuzz::HttpClient.new('10.2.226.132', 6080)
15
+ rclient.users,rclient.iterations=10,100
16
+ end
17
+
18
+ rclient.action do
19
+ @rc.get('/').http_body
20
+ true
21
+ end
22
+
23
+ rclient.run
24
+ rclient.report
25
+ client.save_report(:name=>"clientHomeAndSports")
26
+
27
+ hclient=RoadRunner.new
28
+ hclient.users,hclient.iterations=10,100
29
+ hclient.action{resp = HTTParty.get('http://10.2.226.132:6080')}
30
+ hclient.run
31
+ hclient.report
@@ -0,0 +1,37 @@
1
+ # 莱布尼兹公式计算圆周率
2
+ #rrpi.global[:deep]代表计算的深度
3
+ #深度越深,计算越精确,当然也越耗时
4
+
5
+ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
6
+
7
+ require 'roadrunner'
8
+
9
+ rrpi=RoadRunner.new
10
+
11
+ rrpi.init do
12
+ rrpi.global[:pi],rrpi.global[:deep]=0,100
13
+
14
+ # users决定同时有多少并发用户一起执行action
15
+ # iterations决定每个用户执行多少次
16
+ rrpi.users,rrpi.iterations=10,1000
17
+ end
18
+
19
+ rrpi.action do
20
+
21
+ # 新增加了iterationId和userId两个接口方法,
22
+ # 可以通过iterationId获得当前action执行到第一次
23
+ # 可以通过userId获得当前action执行用户的id
24
+ # puts rrpi.iterationId
25
+ # puts rrpi.userId
26
+ 1.upto(rrpi.global[:deep]){|x|rrpi.global[:pi]+=((-1)**(x+1)*1.0/(x*2-1))}
27
+ end
28
+
29
+ rrpi.ended do
30
+ rrpi.global[:pi]*=4
31
+ #rrpi.global={}
32
+ end
33
+
34
+ rrpi.run
35
+ rrpi.report
36
+
37
+ p "Tps could get : RoadRunner::tps => #{rrpi.tps}"
@@ -0,0 +1,41 @@
1
+ # 莱布尼兹公式计算圆周率
2
+ #rrpi.global[:deep]代表计算的深度
3
+ #深度越深,计算越精确,当然也越耗时
4
+
5
+ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
6
+
7
+ require 'roadrunner'
8
+
9
+ #rrpi=RoadRunner.new(:out=>"#{File.join(File.dirname(__FILE__),'roadrunner_stdout.log')}")
10
+
11
+ rrpi=RoadRunner.new(:out=>"#{File.join(File.dirname(__FILE__),'roadrunner_stdout.log')}") do |session|
12
+ session[:adapter] = 'sqlite3'
13
+ session[:database] = File.join(File.dirname(__FILE__),'db','development.sqlite3')
14
+ end
15
+
16
+ rrpi.init do
17
+ rrpi.global[:pi],rrpi.global[:deep]=0,1000
18
+
19
+ # users决定同时有多少并发用户一起执行action
20
+ # iterations决定每个用户执行多少次
21
+ rrpi.users,rrpi.iterations=10,10
22
+ end
23
+
24
+ rrpi.action do
25
+
26
+ # 新增加了iterationId和userId两个接口方法,
27
+ # 可以通过iterationId获得当前action执行到第一次
28
+ # 可以通过userId获得当前action执行用户的id
29
+ # puts rrpi.iterationId
30
+ # puts rrpi.userId
31
+ 1.upto(rrpi.global[:deep]){|x|rrpi.global[:pi]+=((-1)**(x+1)*1.0/(x*2-1))}
32
+ end
33
+
34
+ rrpi.ended do
35
+ rrpi.global[:pi]*=4
36
+ #rrpi.global={}
37
+ end
38
+
39
+ rrpi.run
40
+ rrpi.report
41
+ rrpi.save_report("pi_conputiong_perf_01")
@@ -0,0 +1,33 @@
1
+ # 计算素数
2
+ #rrprime.global[:size]代表计算的素数数组的长度
3
+
4
+ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
5
+
6
+ require 'roadrunner'
7
+
8
+ rrprime=RoadRunner.new
9
+
10
+ rrprime.init do
11
+
12
+ # rrprime.global是一个存储全局变量的方法
13
+ # 任何数据类型都可以丢进去
14
+ # 在执行report方法时,rrprime.global中的数据会被打印到报告中
15
+ rrprime.global[:size]=1000
16
+
17
+ # users决定同时有多少并发用户一起执行action
18
+ # iterations决定每个用户执行多少次
19
+ rrprime.users,rrprime.iterations=10,100
20
+ end
21
+
22
+ rrprime.action do
23
+
24
+ # 得到素数数组
25
+ rrprime.global[:result]=(2..rrprime.global[:size]).inject([]) { |s, e| (s.map { |x| e % x }).include?(0) ? s : s << e }
26
+ end
27
+
28
+ rrprime.ended do
29
+ #rrprime.global={}
30
+ end
31
+
32
+ rrprime.run
33
+ rrprime.report
@@ -0,0 +1,170 @@
1
+ # Logfile created on Thu Apr 30 11:31:48 +0800 2009 by /
2
+ connect db ok.
3
+ table rreports doesn't defined and will be created.
4
+ create table rreports successful.
5
+ ***************Performance Reports****************
6
+
7
+ user system total real
8
+
9
+ 0.656000 0.000000 0.656000 ( 0.672000)
10
+
11
+ ----------------------------------------------------------------
12
+ The Virtual User is 10.
13
+ Total Execute 100 Action(s).
14
+ Total Cost 0.672000169754028 Second(s).
15
+ This Scenario's TPS : 148.809486218736.
16
+ The longest action cost 0.0470001697540283 seconds.
17
+ ----------------Transaction Report----------------
18
+ Action : count => 100 time(s) , cost => 0.561000108718872 second(s)
19
+ ----------------------------------------------------------------
20
+ User defined params as below:
21
+ pi314.059265383988deep1000
22
+ ******************End of Reports******************
23
+
24
+ records has saved in DB.
25
+ connect db ok.
26
+ ***************Performance Reports****************
27
+
28
+ user system total real
29
+
30
+ 1.140000 0.015000 1.155000 ( 1.172000)
31
+
32
+ ----------------------------------------------------------------
33
+ The Virtual User is 10.
34
+ Total Execute 100 Action(s).
35
+ Total Cost 1.17199993133545 Second(s).
36
+ This Scenario's TPS : 85.3242370808451.
37
+ The longest action cost 0.062999963760376 seconds.
38
+ ----------------Transaction Report----------------
39
+ Action : count => 100 time(s) , cost => 1.07699990272522 second(s)
40
+ ----------------------------------------------------------------
41
+ User defined params as below:
42
+ pi314.059265383988deep1000
43
+ ******************End of Reports******************
44
+
45
+ connect db ok.
46
+ table rreports doesn't defined and will be created.
47
+ connect db ok.
48
+ table rreports doesn't defined and will be created.
49
+ create table ["scenarios", "transactions", "records"] successful.
50
+ connect db ok.
51
+ ***************Performance Reports****************
52
+
53
+ user system total real
54
+
55
+ 0.531000 0.000000 0.531000 ( 0.546000)
56
+
57
+ ----------------------------------------------------------------
58
+ The Virtual User is 10.
59
+ Total Execute 100 Action(s).
60
+ Total Cost 0.546000003814697 Second(s).
61
+ This Scenario's TPS : 183.150181870582.
62
+ The longest action cost 0.0460000038146973 seconds.
63
+ ----------------Transaction Report----------------
64
+ Action : count => 100 time(s) , cost => 0.482999801635742 second(s)
65
+ ----------------------------------------------------------------
66
+ User defined params as below:
67
+ pi314.059265383988deep1000
68
+ ******************End of Reports******************
69
+
70
+ connect db ok.
71
+ ***************Performance Reports****************
72
+
73
+ user system total real
74
+
75
+ 0.531000 0.000000 0.531000 ( 0.532000)
76
+
77
+ ----------------------------------------------------------------
78
+ The Virtual User is 10.
79
+ Total Execute 100 Action(s).
80
+ Total Cost 0.532000064849854 Second(s).
81
+ This Scenario's TPS : 187.969901898833.
82
+ The longest action cost 0.0320000648498535 seconds.
83
+ ----------------Transaction Report----------------
84
+ Action : count => 100 time(s) , cost => 0.422999858856201 second(s)
85
+ ----------------------------------------------------------------
86
+ User defined params as below:
87
+ pi314.059265383988deep1000
88
+ ******************End of Reports******************
89
+
90
+ connect db ok.
91
+ ***************Performance Reports****************
92
+
93
+ user system total real
94
+
95
+ 1.125000 0.016000 1.141000 ( 1.156000)
96
+
97
+ ----------------------------------------------------------------
98
+ The Virtual User is 10.
99
+ Total Execute 100 Action(s).
100
+ Total Cost 1.1560001373291 Second(s).
101
+ This Scenario's TPS : 86.5051800348801.
102
+ The longest action cost 0.062999963760376 seconds.
103
+ ----------------Transaction Report----------------
104
+ Action : count => 100 time(s) , cost => 1.09299993515015 second(s)
105
+ ----------------------------------------------------------------
106
+ User defined params as below:
107
+ pi314.059265383988deep1000
108
+ ******************End of Reports******************
109
+
110
+ connect db ok.
111
+ ***************Performance Reports****************
112
+
113
+ user system total real
114
+
115
+ 1.140000 0.015000 1.155000 ( 1.156000)
116
+
117
+ ----------------------------------------------------------------
118
+ The Virtual User is 10.
119
+ Total Execute 100 Action(s).
120
+ Total Cost 1.1560001373291 Second(s).
121
+ This Scenario's TPS : 86.5051800348801.
122
+ The longest action cost 0.0470001697540283 seconds.
123
+ ----------------Transaction Report----------------
124
+ Action : count => 100 time(s) , cost => 1.07800030708313 second(s)
125
+ ----------------------------------------------------------------
126
+ User defined params as below:
127
+ pi314.059265383988deep1000
128
+ ******************End of Reports******************
129
+
130
+ connect db ok.
131
+ ***************Performance Reports****************
132
+
133
+ user system total real
134
+
135
+ 1.109000 0.062000 1.171000 ( 1.172000)
136
+
137
+ ----------------------------------------------------------------
138
+ The Virtual User is 10.
139
+ Total Execute 100 Action(s).
140
+ Total Cost 1.17199993133545 Second(s).
141
+ This Scenario's TPS : 85.3242370808451.
142
+ The longest action cost 0.062000036239624 seconds.
143
+ ----------------Transaction Report----------------
144
+ Action : count => 100 time(s) , cost => 1.06400036811829 second(s)
145
+ ----------------------------------------------------------------
146
+ User defined params as below:
147
+ pi314.059265383988deep1000
148
+ ******************End of Reports******************
149
+
150
+ connect db ok.
151
+ ***************Performance Reports****************
152
+
153
+ user system total real
154
+
155
+ 0.532000 0.000000 0.532000 ( 0.531000)
156
+
157
+ ----------------------------------------------------------------
158
+ The Virtual User is 10.
159
+ Total Execute 100 Action(s).
160
+ Total Cost 0.530999898910522 Second(s).
161
+ This Scenario's TPS : 188.323952989774.
162
+ The longest action cost 0.0469999313354492 seconds.
163
+ ----------------Transaction Report----------------
164
+ Action : count => 100 time(s) , cost => 0.482999801635742 second(s)
165
+ ----------------------------------------------------------------
166
+ User defined params as below:
167
+ pi314.059265383988deep1000
168
+ ******************End of Reports******************
169
+
170
+ records has saved in DB.
@@ -0,0 +1,394 @@
1
+ # Logfile created on Tue Apr 28 20:05:14 +0800 2009 by /
2
+ connect db ok.
3
+ connect db ok.
4
+ adapter:sqlite3.connect db faile.
5
+ connect db ok.
6
+ connect db ok.
7
+ connect db ok.
8
+ connect db ok.
9
+ connect db ok.
10
+ connect db ok.
11
+ connect db ok.
12
+ connect db ok.
13
+ connect db ok.
14
+ connect db ok.
15
+ connect db ok.
16
+ connect db ok.
17
+ connect db ok.
18
+ connect db ok.
19
+ table rreports doesn't defined and will be created.
20
+ connect db ok.
21
+ ***************Performance Reports****************
22
+
23
+ user system total real
24
+
25
+ 7.469000 0.188000 7.657000 ( 7.703000)
26
+
27
+ ----------------------------------------------------------------
28
+ The Virtual User is 10.
29
+ Total Execute 1000 Action(s).
30
+ Total Cost 7.70300006866455 Second(s).
31
+ This Scenario's TPS : 129.819549667143.
32
+ The longest action cost 0.0470001697540283 seconds.
33
+ ----------------Transaction Report----------------
34
+ Action : count => 1000 time(s) , cost => 7.67199993133545 second(s)
35
+ ----------------------------------------------------------------
36
+ User defined params as below:
37
+ pi3140.59265383977deep1000
38
+ ******************End of Reports******************
39
+
40
+ You didn't connect any database.
41
+ connect db ok.
42
+ ***************Performance Reports****************
43
+
44
+ user system total real
45
+
46
+ 7.797000 0.125000 7.922000 ( 7.969000)
47
+
48
+ ----------------------------------------------------------------
49
+ The Virtual User is 10.
50
+ Total Execute 1000 Action(s).
51
+ Total Cost 7.96900010108948 Second(s).
52
+ This Scenario's TPS : 125.486257662776.
53
+ The longest action cost 0.0470001697540283 seconds.
54
+ ----------------Transaction Report----------------
55
+ Action : count => 1000 time(s) , cost => 7.89100027084351 second(s)
56
+ ----------------------------------------------------------------
57
+ User defined params as below:
58
+ pi3140.59265383977deep1000
59
+ ******************End of Reports******************
60
+
61
+ connect db ok.
62
+ ***************Performance Reports****************
63
+
64
+ user system total real
65
+
66
+ 3.985000 0.000000 3.985000 ( 4.016000)
67
+
68
+ ----------------------------------------------------------------
69
+ The Virtual User is 10.
70
+ Total Execute 1000 Action(s).
71
+ Total Cost 4.01600003242493 Second(s).
72
+ This Scenario's TPS : 249.003982053303.
73
+ The longest action cost 0.0469999313354492 seconds.
74
+ ----------------Transaction Report----------------
75
+ Action : count => 1000 time(s) , cost => 3.9520001411438 second(s)
76
+ ----------------------------------------------------------------
77
+ User defined params as below:
78
+ pi3140.59265383977deep1000
79
+ ******************End of Reports******************
80
+
81
+ connect db ok.
82
+ ***************Performance Reports****************
83
+
84
+ user system total real
85
+
86
+ 7.906000 0.234000 8.140000 ( 8.234000)
87
+
88
+ ----------------------------------------------------------------
89
+ The Virtual User is 10.
90
+ Total Execute 1000 Action(s).
91
+ Total Cost 8.23399996757507 Second(s).
92
+ This Scenario's TPS : 121.447656538491.
93
+ The longest action cost 0.0470001697540283 seconds.
94
+ ----------------Transaction Report----------------
95
+ Action : count => 1000 time(s) , cost => 8.17000007629395 second(s)
96
+ ----------------------------------------------------------------
97
+ User defined params as below:
98
+ pi3140.59265383977deep1000
99
+ ******************End of Reports******************
100
+
101
+ connect db ok.
102
+ ***************Performance Reports****************
103
+
104
+ user system total real
105
+
106
+ 8.203000 0.234000 8.437000 ( 8.531000)
107
+
108
+ ----------------------------------------------------------------
109
+ The Virtual User is 10.
110
+ Total Execute 1000 Action(s).
111
+ Total Cost 8.53099989891052 Second(s).
112
+ This Scenario's TPS : 117.219553610323.
113
+ The longest action cost 0.0470001697540283 seconds.
114
+ ----------------Transaction Report----------------
115
+ Action : count => 1000 time(s) , cost => 8.46799993515015 second(s)
116
+ ----------------------------------------------------------------
117
+ User defined params as below:
118
+ pi3140.59265383977deep1000
119
+ ******************End of Reports******************
120
+
121
+ connect db ok.
122
+ ***************Performance Reports****************
123
+
124
+ user system total real
125
+
126
+ 8.172000 0.219000 8.391000 ( 8.516000)
127
+
128
+ ----------------------------------------------------------------
129
+ The Virtual User is 10.
130
+ Total Execute 1000 Action(s).
131
+ Total Cost 8.51600003242493 Second(s).
132
+ This Scenario's TPS : 117.426021159285.
133
+ The longest action cost 0.0470001697540283 seconds.
134
+ ----------------Transaction Report----------------
135
+ Action : count => 1000 time(s) , cost => 8.42299962043762 second(s)
136
+ ----------------------------------------------------------------
137
+ User defined params as below:
138
+ pi3140.59265383977deep1000
139
+ ******************End of Reports******************
140
+
141
+ connect db ok.
142
+ ***************Performance Reports****************
143
+
144
+ user system total real
145
+
146
+ 0.844000 0.016000 0.860000 ( 0.859000)
147
+
148
+ ----------------------------------------------------------------
149
+ The Virtual User is 10.
150
+ Total Execute 100 Action(s).
151
+ Total Cost 0.858999967575073 Second(s).
152
+ This Scenario's TPS : 116.414439784319.
153
+ The longest action cost 0.0470001697540283 seconds.
154
+ ----------------Transaction Report----------------
155
+ Action : count => 100 time(s) , cost => 0.858999967575073 second(s)
156
+ ----------------------------------------------------------------
157
+ User defined params as below:
158
+ pi314.059265383988deep1000
159
+ ******************End of Reports******************
160
+
161
+ connect db ok.
162
+ ***************Performance Reports****************
163
+
164
+ user system total real
165
+
166
+ 0.875000 0.000000 0.875000 ( 0.875000)
167
+
168
+ ----------------------------------------------------------------
169
+ The Virtual User is 10.
170
+ Total Execute 100 Action(s).
171
+ Total Cost 0.875 Second(s).
172
+ This Scenario's TPS : 114.285714285714.
173
+ The longest action cost 0.0469999313354492 seconds.
174
+ ----------------Transaction Report----------------
175
+ Action : count => 100 time(s) , cost => 0.875 second(s)
176
+ ----------------------------------------------------------------
177
+ User defined params as below:
178
+ pi314.059265383988deep1000
179
+ ******************End of Reports******************
180
+
181
+ connect db ok.
182
+ ***************Performance Reports****************
183
+
184
+ user system total real
185
+
186
+ 0.797000 0.016000 0.813000 ( 0.812000)
187
+
188
+ ----------------------------------------------------------------
189
+ The Virtual User is 10.
190
+ Total Execute 100 Action(s).
191
+ Total Cost 0.812000036239624 Second(s).
192
+ This Scenario's TPS : 123.152703863291.
193
+ The longest action cost 0.0470001697540283 seconds.
194
+ ----------------Transaction Report----------------
195
+ Action : count => 100 time(s) , cost => 0.812000036239624 second(s)
196
+ ----------------------------------------------------------------
197
+ User defined params as below:
198
+ pi314.059265383988deep1000
199
+ ******************End of Reports******************
200
+
201
+ connect db ok.
202
+ ***************Performance Reports****************
203
+
204
+ user system total real
205
+
206
+ 0.797000 0.031000 0.828000 ( 0.828000)
207
+
208
+ ----------------------------------------------------------------
209
+ The Virtual User is 10.
210
+ Total Execute 100 Action(s).
211
+ Total Cost 0.828000068664551 Second(s).
212
+ This Scenario's TPS : 120.772936844421.
213
+ The longest action cost 0.0470001697540283 seconds.
214
+ ----------------Transaction Report----------------
215
+ Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
216
+ ----------------------------------------------------------------
217
+ User defined params as below:
218
+ pi314.059265383988deep1000
219
+ ******************End of Reports******************
220
+
221
+ connect db ok.
222
+ ***************Performance Reports****************
223
+
224
+ user system total real
225
+
226
+ 0.828000 0.016000 0.844000 ( 0.844000)
227
+
228
+ ----------------------------------------------------------------
229
+ The Virtual User is 10.
230
+ Total Execute 100 Action(s).
231
+ Total Cost 0.844000101089478 Second(s).
232
+ This Scenario's TPS : 118.483398131013.
233
+ The longest action cost 0.0469999313354492 seconds.
234
+ ----------------Transaction Report----------------
235
+ Action : count => 100 time(s) , cost => 0.844000101089478 second(s)
236
+ ----------------------------------------------------------------
237
+ User defined params as below:
238
+ pi314.059265383988deep1000
239
+ ******************End of Reports******************
240
+
241
+ connect db ok.
242
+ ***************Performance Reports****************
243
+
244
+ user system total real
245
+
246
+ 0.781000 0.047000 0.828000 ( 0.828000)
247
+
248
+ ----------------------------------------------------------------
249
+ The Virtual User is 10.
250
+ Total Execute 100 Action(s).
251
+ Total Cost 0.828000068664551 Second(s).
252
+ This Scenario's TPS : 120.772936844421.
253
+ The longest action cost 0.0469999313354492 seconds.
254
+ ----------------Transaction Report----------------
255
+ Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
256
+ ----------------------------------------------------------------
257
+ User defined params as below:
258
+ pi314.059265383988deep1000
259
+ ******************End of Reports******************
260
+
261
+ connect db ok.
262
+ connect db ok.
263
+ connect db ok.
264
+ connect db ok.
265
+ connect db ok.
266
+ connect db ok.
267
+ connect db ok.
268
+ connect db ok.
269
+ connect db ok.
270
+ connect db ok.
271
+ ***************Performance Reports****************
272
+
273
+ user system total real
274
+
275
+ 0.813000 0.015000 0.828000 ( 0.828000)
276
+
277
+ ----------------------------------------------------------------
278
+ The Virtual User is 10.
279
+ Total Execute 100 Action(s).
280
+ Total Cost 0.827999830245972 Second(s).
281
+ This Scenario's TPS : 120.772971620409.
282
+ The longest action cost 0.0469999313354492 seconds.
283
+ ----------------Transaction Report----------------
284
+ Action : count => 100 time(s) , cost => 0.827999830245972 second(s)
285
+ ----------------------------------------------------------------
286
+ User defined params as below:
287
+ pi314.059265383988deep1000
288
+ ******************End of Reports******************
289
+
290
+ connect db ok.
291
+ ***************Performance Reports****************
292
+
293
+ user system total real
294
+
295
+ 0.782000 0.032000 0.814000 ( 0.828000)
296
+
297
+ ----------------------------------------------------------------
298
+ The Virtual User is 10.
299
+ Total Execute 100 Action(s).
300
+ Total Cost 0.828000068664551 Second(s).
301
+ This Scenario's TPS : 120.772936844421.
302
+ The longest action cost 0.0469999313354492 seconds.
303
+ ----------------Transaction Report----------------
304
+ Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
305
+ ----------------------------------------------------------------
306
+ User defined params as below:
307
+ pi314.059265383988deep1000
308
+ ******************End of Reports******************
309
+
310
+ connect db ok.
311
+ table rreports doesn't defined and will be created.
312
+ create table rreports successful.
313
+ ***************Performance Reports****************
314
+
315
+ user system total real
316
+
317
+ 0.828000 0.016000 0.844000 ( 0.843000)
318
+
319
+ ----------------------------------------------------------------
320
+ The Virtual User is 10.
321
+ Total Execute 100 Action(s).
322
+ Total Cost 0.842999935150146 Second(s).
323
+ This Scenario's TPS : 118.623971165774.
324
+ The longest action cost 0.0469999313354492 seconds.
325
+ ----------------Transaction Report----------------
326
+ Action : count => 100 time(s) , cost => 0.796000242233276 second(s)
327
+ ----------------------------------------------------------------
328
+ User defined params as below:
329
+ pi314.059265383988deep1000
330
+ ******************End of Reports******************
331
+
332
+ records has saved in DB.
333
+ connect db ok.
334
+ ***************Performance Reports****************
335
+
336
+ user system total real
337
+
338
+ 0.781000 0.016000 0.797000 ( 0.828000)
339
+
340
+ ----------------------------------------------------------------
341
+ The Virtual User is 10.
342
+ Total Execute 100 Action(s).
343
+ Total Cost 0.827999830245972 Second(s).
344
+ This Scenario's TPS : 120.772971620409.
345
+ The longest action cost 0.0469999313354492 seconds.
346
+ ----------------Transaction Report----------------
347
+ Action : count => 100 time(s) , cost => 0.827999830245972 second(s)
348
+ ----------------------------------------------------------------
349
+ User defined params as below:
350
+ pi314.059265383988deep1000
351
+ ******************End of Reports******************
352
+
353
+ connect db ok.
354
+ ***************Performance Reports****************
355
+
356
+ user system total real
357
+
358
+ 0.750000 0.063000 0.813000 ( 0.828000)
359
+
360
+ ----------------------------------------------------------------
361
+ The Virtual User is 10.
362
+ Total Execute 100 Action(s).
363
+ Total Cost 0.828000068664551 Second(s).
364
+ This Scenario's TPS : 120.772936844421.
365
+ The longest action cost 0.0469999313354492 seconds.
366
+ ----------------Transaction Report----------------
367
+ Action : count => 100 time(s) , cost => 0.828000068664551 second(s)
368
+ ----------------------------------------------------------------
369
+ User defined params as below:
370
+ pi314.059265383988deep1000
371
+ ******************End of Reports******************
372
+
373
+ scenario may be needed.
374
+ connect db ok.
375
+ ***************Performance Reports****************
376
+
377
+ user system total real
378
+
379
+ 0.563000 0.000000 0.563000 ( 0.563000)
380
+
381
+ ----------------------------------------------------------------
382
+ The Virtual User is 10.
383
+ Total Execute 100 Action(s).
384
+ Total Cost 0.563000202178955 Second(s).
385
+ This Scenario's TPS : 177.619829642999.
386
+ The longest action cost 0.0470001697540283 seconds.
387
+ ----------------Transaction Report----------------
388
+ Action : count => 100 time(s) , cost => 0.563000202178955 second(s)
389
+ ----------------------------------------------------------------
390
+ User defined params as below:
391
+ pi314.059265383988deep1000
392
+ ******************End of Reports******************
393
+
394
+ records has saved in DB.