RoadRunner 3.3.1 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. data/Rakefile +8 -13
  2. data/bin/controller.rb +74 -0
  3. data/bin/host_mgr.rb +69 -0
  4. data/bin/nbd_prepare.sh +87 -0
  5. data/conf/servers.yaml +29 -0
  6. data/controller/dd.sh +91 -0
  7. data/controller/mysql.rb +73 -0
  8. data/controller/mysql.sh +9 -0
  9. data/controller/svn.sh +48 -0
  10. data/controller/wrap.rb +49 -0
  11. data/lib/roadrunner.rb +11 -9
  12. data/lib/rrmonitor.rb +174 -0
  13. data/lib/run.rb +66 -27
  14. data/log/dd.log +129 -0
  15. data/log/log.rb +17 -0
  16. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/ifstat.log +239 -0
  17. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/iostat_3.log +668 -0
  18. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/vmstat_3.log +81 -0
  19. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2248 -0
  20. data/log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +719 -0
  21. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/ifstat.log +245 -0
  22. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/iostat_3.log +677 -0
  23. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/vmstat_3.log +83 -0
  24. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2276 -0
  25. data/log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +737 -0
  26. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/ifstat.log +246 -0
  27. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/iostat_3.log +677 -0
  28. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/vmstat_3.log +83 -0
  29. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2195 -0
  30. data/log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +737 -0
  31. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/ifstat.log +247 -0
  32. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/iostat_3.log +686 -0
  33. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/vmstat_3.log +84 -0
  34. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2386 -0
  35. data/log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +828 -0
  36. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/ifstat.log +249 -0
  37. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/iostat_3.log +686 -0
  38. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/vmstat_3.log +84 -0
  39. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +2304 -0
  40. data/log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +664 -0
  41. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/ifstat.log +240 -0
  42. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/iostat_3.log +1334 -0
  43. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/vmstat_3.log +82 -0
  44. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log +9048 -0
  45. data/log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log +968 -0
  46. data/log/stdout.log +0 -0
  47. data/log/stdout.log.20100307 +349 -0
  48. data/log/svn.log +502 -0
  49. data/test/download_processes.rb +38 -0
  50. data/test/pi_monitor.rb +45 -0
  51. metadata +54 -17
  52. data/lib/roadrunner_stdout.log +0 -168
  53. data/lib/roadrunner_stdout.log.20090519 +0 -262
  54. data/lib/roadrunner_stdout.log.20090521 +0 -47
  55. data/lib/roadrunner_stdout.log.20090524 +0 -290
  56. data/test/roadrunner_stdout.log +0 -170
  57. data/test/roadrunner_stdout.log.20090429 +0 -394
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
4
+
5
+ require 'roadrunner'
6
+
7
+ dl=RoadRunner.new
8
+
9
+ =begin
10
+ RoadRunner::mode =>
11
+ /thread/,/t/
12
+ /process/,/p/
13
+ else.
14
+ Defined in run.rb
15
+ 当mode为进程的时候,RoadRunner将产生最真实的压力
16
+ =end
17
+
18
+ dl.mode='p'
19
+
20
+ dl.init do
21
+ # users决定同时有多少并发用户一起执行action
22
+ # iterations决定每个用户执行多少次
23
+ dl.users,dl.iterations=5,10
24
+ end
25
+
26
+
27
+ dl.action do
28
+ sleep 10
29
+ %x{wget "http://dl_dir.qq.com/qqfile/qq/QQforMac/QQ_B1_606.dmg" 1>/dev/null 2>&1}
30
+ end
31
+
32
+ dl.ended do
33
+ end
34
+
35
+ dl.run
36
+ dl.report
37
+
38
+ p "Tps could get : RoadRunner::tps => #{dl.tps}"
@@ -0,0 +1,45 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # 莱布尼兹公式计算圆周率
4
+ #rrpi.global[:deep]代表计算的深度
5
+ #深度越深,计算越精确,当然也越耗时
6
+
7
+ $:.unshift File.join(File.dirname(__FILE__),'..','lib')
8
+
9
+ require 'roadrunner'
10
+
11
+ rrpi=RoadRunner.new
12
+
13
+ rrpi.init do
14
+ rrpi.global[:pi],rrpi.global[:deep]=0,100
15
+
16
+ # users决定同时有多少并发用户一起执行action
17
+ # iterations决定每个用户执行多少次
18
+ rrpi.users,rrpi.iterations=10,1000
19
+ end
20
+
21
+
22
+ rrpi.action do
23
+
24
+ # 新增加了iterationId和userId两个接口方法,
25
+ # 可以通过iterationId获得当前action执行到第一次
26
+ # 可以通过userId获得当前action执行用户的id
27
+ # puts rrpi.iterationId
28
+ # puts rrpi.userId
29
+ 1.upto(rrpi.global[:deep]){|x|rrpi.global[:pi]+=((-1)**(x+1)*1.0/(x*2-1))}
30
+ end
31
+
32
+ rrpi.ended do
33
+ rrpi.global[:pi]*=4
34
+ #rrpi.global={}
35
+ end
36
+
37
+ cmd=['ifstat','iostat 3','while((1>0));do sar -u -d 3 10; done','vmstat 3','while((1>0));do sar -u -n DEV 3 10; done']
38
+
39
+ RoadRunnerModule::RRMonitor.monit(File.join(File.dirname(__FILE__),'..','conf','servers.yaml'),rrpi.log,cmd,"Pi-Monitor-Performance"){
40
+ rrpi.run
41
+ }
42
+
43
+ rrpi.report
44
+
45
+ p "Tps could get : RoadRunner::tps => #{rrpi.tps}"
metadata CHANGED
@@ -1,24 +1,22 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RoadRunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
- - CharlesCui
7
+ - Charles Cui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-19 00:00:00 +08:00
12
+ date: 2010-03-08 00:00:00 +08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: !binary |
17
- Um9hZFJ1bm5lcuaYr0xvYWRSdW5uZXLnmoRSdWJ5566A5piT5a6e546w
18
-
16
+ description: RoadRunner
19
17
  email: zheng.cuizh@gmail.com
20
- executables: []
21
-
18
+ executables:
19
+ - controller.rb
22
20
  extensions: []
23
21
 
24
22
  extra_rdoc_files:
@@ -28,6 +26,9 @@ files:
28
26
  - LICENSE
29
27
  - README
30
28
  - Rakefile
29
+ - bin/controller.rb
30
+ - bin/host_mgr.rb
31
+ - bin/nbd_prepare.sh
31
32
  - lib/action.rb
32
33
  - lib/db.rb
33
34
  - lib/ended.rb
@@ -35,15 +36,54 @@ files:
35
36
  - lib/model.rb
36
37
  - lib/report.rb
37
38
  - lib/roadrunner.rb
38
- - lib/roadrunner_stdout.log
39
- - lib/roadrunner_stdout.log.20090519
40
- - lib/roadrunner_stdout.log.20090521
41
- - lib/roadrunner_stdout.log.20090524
42
39
  - lib/rrhelper.rb
40
+ - lib/rrmonitor.rb
43
41
  - lib/run.rb
42
+ - conf/servers.yaml
43
+ - controller/dd.sh
44
+ - controller/mysql.rb
45
+ - controller/mysql.sh
46
+ - controller/svn.sh
47
+ - controller/wrap.rb
48
+ - log/dd.log
49
+ - log/log.rb
50
+ - log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/ifstat.log
51
+ - log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/iostat_3.log
52
+ - log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/vmstat_3.log
53
+ - log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log
54
+ - log/monitor/Pi-Monitor-Performance/10.250.3.26/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log
55
+ - log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/ifstat.log
56
+ - log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/iostat_3.log
57
+ - log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/vmstat_3.log
58
+ - log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log
59
+ - log/monitor/Pi-Monitor-Performance/10.250.3.27/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log
60
+ - log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/ifstat.log
61
+ - log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/iostat_3.log
62
+ - log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/vmstat_3.log
63
+ - log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log
64
+ - log/monitor/Pi-Monitor-Performance/10.250.3.28/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log
65
+ - log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/ifstat.log
66
+ - log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/iostat_3.log
67
+ - log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/vmstat_3.log
68
+ - log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log
69
+ - log/monitor/Pi-Monitor-Performance/10.250.3.29/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log
70
+ - log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/ifstat.log
71
+ - log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/iostat_3.log
72
+ - log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/vmstat_3.log
73
+ - log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log
74
+ - log/monitor/Pi-Monitor-Performance/10.250.3.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log
75
+ - log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/ifstat.log
76
+ - log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/iostat_3.log
77
+ - log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/vmstat_3.log
78
+ - log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-d_3_10__done.log
79
+ - log/monitor/Pi-Monitor-Performance/10.250.6.30/Pi-Monitor-Performance/while__1_0___do_sar_-u_-n_DEV_3_10__done.log
80
+ - log/stdout.log
81
+ - log/stdout.log.20100307
82
+ - log/svn.log
44
83
  - test/baidu.rb
45
84
  - test/blog.rb
46
85
  - test/db/development.sqlite3
86
+ - test/download_processes.rb
47
87
  - test/fibonacci.rb
48
88
  - test/get163.rb
49
89
  - test/get19Lou.rb
@@ -51,9 +91,8 @@ files:
51
91
  - test/httpclient-rfuzz-vs-httparty.rb
52
92
  - test/pi.rb
53
93
  - test/pi_db.rb
94
+ - test/pi_monitor.rb
54
95
  - test/prime.rb
55
- - test/roadrunner_stdout.log
56
- - test/roadrunner_stdout.log.20090429
57
96
  - test/test_db.rb
58
97
  has_rdoc: true
59
98
  homepage:
@@ -82,8 +121,6 @@ rubyforge_project:
82
121
  rubygems_version: 1.3.5
83
122
  signing_key:
84
123
  specification_version: 3
85
- summary: !binary |
86
- Um9hZFJ1bm5lcuaYr0xvYWRSdW5uZXLnmoRSdWJ5566A5piT5a6e546w
87
-
124
+ summary: RoadRunner
88
125
  test_files: []
89
126
 
@@ -1,168 +0,0 @@
1
- # Logfile created on Mon May 25 14:25:28 +0800 2009 by /
2
- connect db ok.
3
- ***************Performance Reports****************
4
-
5
- user system total real
6
-
7
- 43.328000 7.657000 50.985000 ( 75.508000)
8
-
9
- ----------------------------------------------------------------
10
- The Virtual User is 10.
11
- Total Execute 500 Action(s).
12
- Total Cost 75.5080001354218 Second(s).
13
- This Scenario's TPS : 6.62181489515366.
14
- The longest action cost 3.24900007247925 seconds.
15
- ----------------Transaction Report----------------
16
- Action : count => 500 time(s) , cost => 73.0 sec(s) , success rate => 1.0
17
- homepage : count => 500 time(s) , cost => 29.6 sec(s) , success rate => 1.0
18
- auto : count => 500 time(s) , cost => 37.9 sec(s) , success rate => 1.0
19
-
20
- ----------------------------------------------------------------
21
- User defined params as below:
22
-
23
- ******************End of Reports******************
24
-
25
- connect db ok.
26
- connect db ok.
27
- ***************Performance Reports****************
28
-
29
- user system total real
30
-
31
- 11.859000 2.828000 14.687000 ( 21.623000)
32
-
33
- ----------------------------------------------------------------
34
- The Virtual User is 10.
35
- Total Execute 100 Action(s).
36
- Total Cost 21.6230001449585 Second(s).
37
- This Scenario's TPS : 4.62470514404152.
38
- The longest action cost 3.125 seconds.
39
- ----------------Transaction Report----------------
40
- Action : count => 100 time(s) , cost => 21.5 sec(s) , success rate => 1.0
41
- homepage : count => 100 time(s) , cost => 8.67 sec(s) , success rate => 1.0
42
- auto : count => 100 time(s) , cost => 12.4 sec(s) , success rate => 1.0
43
-
44
- ----------------------------------------------------------------
45
- User defined params as below:
46
-
47
- ******************End of Reports******************
48
-
49
- I, [2009-05-25T14:38:06.388000 #3748] INFO -- : ***************Performance Reports****************
50
-
51
- user system total real
52
-
53
- 14.266000 0.015000 14.281000 ( 14.342000)
54
-
55
- ----------------------------------------------------------------
56
- The Virtual User is 10.
57
- Total Execute 1000 Action(s).
58
- Total Cost 14.3420000076294 Second(s).
59
- This Scenario's TPS : 69.7252823503025.
60
- The longest action cost 0.0320000648498535 seconds.
61
- ----------------Transaction Report----------------
62
- Action : count => 1000 time(s) , cost => 5.90 sec(s) , success rate => 1.0
63
-
64
- ----------------------------------------------------------------
65
- User defined params as below:
66
- deep1000pi3140.59265383977
67
- ******************End of Reports******************
68
-
69
- I, [2009-05-25T16:57:12.328000 #4264] INFO -- : ***************Performance Reports****************
70
-
71
- user system total real
72
-
73
- 14.188000 0.016000 14.204000 ( 14.318000)
74
-
75
- ----------------------------------------------------------------
76
- The Virtual User is 10.
77
- Total Execute 1000 Action(s).
78
- Total Cost 14.3180000782013 Second(s).
79
- This Scenario's TPS : 69.8421563443395.
80
- The longest action cost 0.0320000648498535 seconds.
81
- ----------------Transaction Report----------------
82
- Action : count => 1000 time(s) , cost => 5.21 sec(s) , success rate => 1.0
83
-
84
- ----------------------------------------------------------------
85
- User defined params as below:
86
- deep1000pi3140.59265383977
87
- ******************End of Reports******************
88
-
89
- I, [2009-05-25T16:59:11.609000 #4884] INFO -- : ***************Performance Reports****************
90
-
91
- user system total real
92
-
93
- 14.235000 0.032000 14.267000 ( 14.334000)
94
-
95
- ----------------------------------------------------------------
96
- The Virtual User is 10.
97
- Total Execute 1000 Action(s).
98
- Total Cost 14.3339998722076 Second(s).
99
- This Scenario's TPS : 69.7641976360633.
100
- The longest action cost 1 seconds.
101
- ----------------Transaction Report----------------
102
- Action : count => 1000 time(s) , cost => 5.38 sec(s) , success rate => 1.0
103
-
104
- ----------------------------------------------------------------
105
- User defined params as below:
106
- deep1000pi3140.59265383977
107
- ******************End of Reports******************
108
-
109
- I, [2009-05-25T17:00:02.113000 #5796] INFO -- : ***************Performance Reports****************
110
-
111
- user system total real
112
-
113
- 4.906000 0.000000 4.906000 ( 4.955000)
114
-
115
- ----------------------------------------------------------------
116
- The Virtual User is 10.
117
- Total Execute 1000 Action(s).
118
- Total Cost 4.95499992370605 Second(s).
119
- This Scenario's TPS : 201.816350231557.
120
- The longest action cost 1 seconds.
121
- ----------------Transaction Report----------------
122
- Action : count => 1000 time(s) , cost => 4.90 sec(s) , success rate => 0.0
123
-
124
- ----------------------------------------------------------------
125
- User defined params as below:
126
- deep1000pi3140.59265383977
127
- ******************End of Reports******************
128
-
129
- I, [2009-05-25T17:00:22.402000 #4628] INFO -- : ***************Performance Reports****************
130
-
131
- user system total real
132
-
133
- 4.906000 0.000000 4.906000 ( 4.908000)
134
-
135
- ----------------------------------------------------------------
136
- The Virtual User is 10.
137
- Total Execute 1000 Action(s).
138
- Total Cost 4.90799999237061 Second(s).
139
- This Scenario's TPS : 203.748981571818.
140
- The longest action cost 1 seconds.
141
- ----------------Transaction Report----------------
142
- Action : count => 1000 time(s) , cost => 4.86 sec(s) , success rate => 1.0
143
-
144
- ----------------------------------------------------------------
145
- User defined params as below:
146
- deep1000pi3140.59265383977
147
- ******************End of Reports******************
148
-
149
- I, [2009-05-25T17:01:05.497000 #5828] INFO -- : ***************Performance Reports****************
150
-
151
- user system total real
152
-
153
- 14.297000 0.047000 14.344000 ( 14.381000)
154
-
155
- ----------------------------------------------------------------
156
- The Virtual User is 10.
157
- Total Execute 1000 Action(s).
158
- Total Cost 14.3810000419617 Second(s).
159
- This Scenario's TPS : 69.5361933858664.
160
- The longest action cost 1 seconds.
161
- ----------------Transaction Report----------------
162
- Action : count => 1000 time(s) , cost => 5.82 sec(s) , success rate => 1.0
163
-
164
- ----------------------------------------------------------------
165
- User defined params as below:
166
- deep1000pi3140.59265383977
167
- ******************End of Reports******************
168
-
@@ -1,262 +0,0 @@
1
- # Logfile created on Tue May 19 10:14:28 +0800 2009 by /
2
- I, [2009-05-19T10:22:24.411000 #144] INFO -- : ***************Performance Reports****************
3
-
4
- user system total real
5
-
6
- 403.406000 28.844000 432.250000 (460.349000)
7
-
8
- ----------------------------------------------------------------
9
- The Virtual User is 10.
10
- Total Execute 1000 Action(s).
11
- Total Cost 460.348999977112 Second(s).
12
- This Scenario's TPS : 2.17226495560916.
13
- The longest action cost 6.5939998626709 seconds.
14
- ----------------Transaction Report----------------
15
- Action : count => 1000 time(s) , cost => 4588.07999539375 second(s)homepage : count => 1000 time(s) , cost => 1893.07399845123 second(s)sports : count => 1000 time(s) , cost => 2674.50900006294 second(s)
16
- ----------------------------------------------------------------
17
- User defined params as below:
18
-
19
- ******************End of Reports******************
20
-
21
- I, [2009-05-19T11:08:55.040000 #5496] INFO -- : ***************Performance Reports****************
22
-
23
- user system total real
24
-
25
- 242.938000 18.750000 261.688000 (319.911000)
26
-
27
- ----------------------------------------------------------------
28
- The Virtual User is 10.
29
- Total Execute 1000 Action(s).
30
- Total Cost 319.911000013351 Second(s).
31
- This Scenario's TPS : 3.12586938229153.
32
- The longest action cost 7.875 seconds.
33
- ----------------Transaction Report----------------
34
- Action : count => 1000 time(s) , cost => 310.560000896454 second(s)
35
- homepage : count => 1000 time(s) , cost => 98.4449985027313 second(s)
36
- sports : count => 1000 time(s) , cost => 196.396000862122 second(s)
37
-
38
- ----------------------------------------------------------------
39
- User defined params as below:
40
-
41
- ******************End of Reports******************
42
-
43
- adapter:.connect db faile.
44
- adapter:.connect db faile.
45
- adapter:.connect db faile.
46
- adapter:.connect db faile.
47
- adapter:.connect db faile.
48
- connect db ok.
49
- table rreports doesn't defined and will be created.
50
- create table ["scenarios", "transactions", "records"] successful.
51
- connect db ok.
52
- connect db ok.
53
- ***************Performance Reports****************
54
-
55
- user system total real
56
-
57
- 78.437000 2.469000 80.906000 ( 83.281000)
58
-
59
- ----------------------------------------------------------------
60
- The Virtual User is 5.
61
- Total Execute 50 Action(s).
62
- Total Cost 83.2809998989105 Second(s).
63
- This Scenario's TPS : 0.600377037507857.
64
- The longest action cost 15.6879999637604 seconds.
65
- ----------------Transaction Report----------------
66
- Action : count => 50 time(s) , cost => 393.467000246048 second(s)
67
- homepage : count => 50 time(s) , cost => 143.636000871658 second(s)
68
- sports : count => 50 time(s) , cost => 187.098999500275 second(s)
69
-
70
- ----------------------------------------------------------------
71
- User defined params as below:
72
-
73
- ******************End of Reports******************
74
-
75
- scenario name may be needed.
76
- connect db ok.
77
- ***************Performance Reports****************
78
-
79
- user system total real
80
-
81
- 75.297000 2.625000 77.922000 ( 79.750000)
82
-
83
- ----------------------------------------------------------------
84
- The Virtual User is 5.
85
- Total Execute 50 Action(s).
86
- Total Cost 79.75 Second(s).
87
- This Scenario's TPS : 0.626959247648903.
88
- The longest action cost 13.3430001735687 seconds.
89
- ----------------Transaction Report----------------
90
- Action : count => 50 time(s) , cost => 376.561000585556 second(s)
91
- homepage : count => 50 time(s) , cost => 141.09500002861 second(s)
92
- sports : count => 50 time(s) , cost => 175.916000127792 second(s)
93
-
94
- ----------------------------------------------------------------
95
- User defined params as below:
96
-
97
- ******************End of Reports******************
98
-
99
- connect db ok.
100
- ***************Performance Reports****************
101
-
102
- user system total real
103
-
104
- 75.313000 2.718000 78.031000 ( 82.250000)
105
-
106
- ----------------------------------------------------------------
107
- The Virtual User is 5.
108
- Total Execute 50 Action(s).
109
- Total Cost 82.25 Second(s).
110
- This Scenario's TPS : 0.60790273556231.
111
- The longest action cost 21.125 seconds.
112
- ----------------Transaction Report----------------
113
- Action : count => 50 time(s) , cost => 396.046999931335 second(s)
114
- homepage : count => 50 time(s) , cost => 143.390999555588 second(s)
115
- sports : count => 50 time(s) , cost => 178.794999599457 second(s)
116
-
117
- ----------------------------------------------------------------
118
- User defined params as below:
119
-
120
- ******************End of Reports******************
121
-
122
- records has saved in DB.
123
- I, [2009-05-19T20:01:30.294000 #4116] INFO -- : ***************Performance Reports****************
124
-
125
- user system total real
126
-
127
- 0.203000 0.016000 0.219000 ( 0.265000)
128
-
129
- ----------------------------------------------------------------
130
- The Virtual User is 1.
131
- Total Execute 1 Action(s).
132
- Total Cost 0.265000104904175 Second(s).
133
- This Scenario's TPS : 3.77358341183149.
134
- The longest action cost 0.265000104904175 seconds.
135
- ----------------Transaction Report----------------
136
- Action : count => 1 time(s) , cost => 0.265000104904175 second(s)
137
- homepage : count => 1 time(s) , cost => 0.108999967575073 second(s)
138
- sports : count => 1 time(s) , cost => 0.156000137329102 second(s)
139
-
140
- ----------------------------------------------------------------
141
- User defined params as below:
142
-
143
- ******************End of Reports******************
144
-
145
- E, [2009-05-19T20:01:30.294000 #4116] ERROR -- : You didn't connect any database.
146
- I, [2009-05-19T20:03:07.575000 #4556] INFO -- : ***************Performance Reports****************
147
-
148
- user system total real
149
-
150
- 0.078000 0.015000 0.093000 ( 0.125000)
151
-
152
- ----------------------------------------------------------------
153
- The Virtual User is 1.
154
- Total Execute 1 Action(s).
155
- Total Cost 0.125 Second(s).
156
- This Scenario's TPS : 8.0.
157
- The longest action cost 0.125 seconds.
158
- ----------------Transaction Report----------------
159
- Action : count => 1 time(s) , cost => 0.125 second(s)
160
- homepage : count => 1 time(s) , cost => 0.062000036239624 second(s)
161
- auto : count => 1 time(s) , cost => 0.0469999313354492 second(s)
162
-
163
- ----------------------------------------------------------------
164
- User defined params as below:
165
-
166
- ******************End of Reports******************
167
-
168
- E, [2009-05-19T20:03:07.575000 #4556] ERROR -- : You didn't connect any database.
169
- I, [2009-05-19T20:04:59.591000 #4616] INFO -- : ***************Performance Reports****************
170
-
171
- user system total real
172
-
173
- 0.094000 0.000000 0.094000 ( 0.141000)
174
-
175
- ----------------------------------------------------------------
176
- The Virtual User is 1.
177
- Total Execute 1 Action(s).
178
- Total Cost 0.141000032424927 Second(s).
179
- This Scenario's TPS : 7.09219695061017.
180
- The longest action cost 0.141000032424927 seconds.
181
- ----------------Transaction Report----------------
182
- Action : count => 1 time(s) , cost => 0.141000032424927 second(s)
183
- homepage : count => 1 time(s) , cost => 0.062000036239624 second(s)
184
- auto : count => 1 time(s) , cost => 0.0789999961853027 second(s)
185
-
186
- ----------------------------------------------------------------
187
- User defined params as below:
188
-
189
- ******************End of Reports******************
190
-
191
- E, [2009-05-19T20:04:59.591000 #4616] ERROR -- : You didn't connect any database.
192
- I, [2009-05-19T20:05:31.919000 #4100] INFO -- : ***************Performance Reports****************
193
-
194
- user system total real
195
-
196
- 0.078000 0.031000 0.109000 ( 0.188000)
197
-
198
- ----------------------------------------------------------------
199
- The Virtual User is 1.
200
- Total Execute 1 Action(s).
201
- Total Cost 0.187999963760376 Second(s).
202
- This Scenario's TPS : 5.31914996151061.
203
- The longest action cost 0.187999963760376 seconds.
204
- ----------------Transaction Report----------------
205
- Action : count => 1 time(s) , cost => 0.187999963760376 second(s)
206
- homepage : count => 1 time(s) , cost => 0.0780000686645508 second(s)
207
- auto : count => 1 time(s) , cost => 0.109999895095825 second(s)
208
-
209
- ----------------------------------------------------------------
210
- User defined params as below:
211
-
212
- ******************End of Reports******************
213
-
214
- E, [2009-05-19T20:05:31.919000 #4100] ERROR -- : You didn't connect any database.
215
- connect db ok.
216
- ***************Performance Reports****************
217
-
218
- user system total real
219
-
220
- 152.984000 17.953000 170.937000 (182.906000)
221
-
222
- ----------------------------------------------------------------
223
- The Virtual User is 10.
224
- Total Execute 1000 Action(s).
225
- Total Cost 182.905999898911 Second(s).
226
- This Scenario's TPS : 5.46728921168625.
227
- The longest action cost 2.73399996757507 seconds.
228
- ----------------Transaction Report----------------
229
- Action : count => 1000 time(s) , cost => 1810.69999980927 second(s)
230
- homepage : count => 1000 time(s) , cost => 971.189001560211 second(s)
231
- auto : count => 1000 time(s) , cost => 816.882999181747 second(s)
232
-
233
- ----------------------------------------------------------------
234
- User defined params as below:
235
-
236
- ******************End of Reports******************
237
-
238
- records has saved in DB.
239
- connect db ok.
240
- ***************Performance Reports****************
241
-
242
- user system total real
243
-
244
- 102.906000 31.171000 134.077000 (186.063000)
245
-
246
- ----------------------------------------------------------------
247
- The Virtual User is 10.
248
- Total Execute 1000 Action(s).
249
- Total Cost 186.06299996376 Second(s).
250
- This Scenario's TPS : 5.37452368388541.
251
- The longest action cost 3.21799993515015 seconds.
252
- ----------------Transaction Report----------------
253
- Action : count => 1000 time(s) , cost => 176.185000658035 second(s)
254
- homepage : count => 1000 time(s) , cost => 75.8020007610321 second(s)
255
- auto : count => 1000 time(s) , cost => 81.8600032329559 second(s)
256
-
257
- ----------------------------------------------------------------
258
- User defined params as below:
259
-
260
- ******************End of Reports******************
261
-
262
- records has saved in DB.