Python论坛  - 讨论区

标题:[zeuux-python] Fwd: [karrigell] Benchmark Report

2008年08月31日 星期日 10:08

Zoom.Quiet zoom.quiet在gmail.com
星期日 八月 31 10:08:28 CST 2008

感谢 junyi sun 的探索!给 Karrigell 一个抗压性能非常出色的运行方式!

---------- Forwarded message ----------
From: junyi sun <ccnusjy在gmail.com>
Date: Sat, Aug 30, 2008 at 23:49
Subject: [karrigell] Benchmark Report
To: karrigell在googlegroups.com


*Benchmark Report
Wonderful, Karrigell's performance improved very much with the enhancement
of PyProcessing!*


See the data below, please.
[hello.py] ---- my test code
print "Hello World"

C:\Documents and Settings\sunjoy>ab -n1000 -c100
http://localhost:8086/sjy/hello.py
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

*1.Default Karrigell.py (Only one process instance) *

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software: Karrigell/2.4.0
Server Hostname: localhost
Server Port: 8081

Document Path: /sjy/hello.py
Document Length: 12 bytes

Concurrency Level: 100
Time taken for tests: 62.359375 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 171000 bytes
HTML transferred: 12000 bytes
Requests per second: 16.04 [#/sec] (mean)
Time per request: 6235.938 [ms] (mean)
Time per request: 62.359 [ms] (mean, across all concurrent requests)
Transfer rate: 2.66 [Kbytes/sec] received

Connection Times (ms)
  min mean[+/-sd] median max
Connect: 0 61 157.2 0 515
Processing: 15 6038 2832.7 8046 8562
Waiting: 0 3213 2410.3 2515 8062
Total: 15 6099 2857.1 8046 8562

Percentage of the requests served within a certain time (ms)
  50% 8046
  66% 8046
  75% 8046
  80% 8046
  90% 8546
  95% 8546
  98% 8562
  99% 8562
 100% 8562 (longest request)



*2.Karrigell with PyProcessing (3 process instances)*

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software: Karrigell/2.4.0
Server Hostname: localhost
Server Port: 8086

Document Path: /sjy/hello.py
Document Length: 12 bytes

Concurrency Level: 100
Time taken for tests: 34.31250 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 171000 bytes
HTML transferred: 12000 bytes
Requests per second: 29.38 [#/sec] (mean)
Time per request: 3403.125 [ms] (mean)
Time per request: 34.031 [ms] (mean, across all concurrent requests)
Transfer rate: 4.88 [Kbytes/sec] received

Connection Times (ms)
  min mean[+/-sd] median max
Connect: 0 30 96.9 15 531
Processing: 15 3295 1784.6 2141 6844
Waiting: 0 1607 1427.4 1218 6375
Total: 500 3326 1800.2 2171 7015

Percentage of the requests served within a certain time (ms)
  50% 2171
  66% 3171
  75% 5515
  80% 5937
  90% 6375
  95% 6531
  98% 6546
  99% 6640
 100% 7015 (longest request)



*3.Karrigell with PyProcessing (10 process instances)*

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software: Karrigell/2.4.0
Server Hostname: localhost
Server Port: 8086

Document Path: /sjy/hello.py
Document Length: 12 bytes

Concurrency Level: 100
Time taken for tests: 19.937500 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 171000 bytes
HTML transferred: 12000 bytes
Requests per second: 50.16 [#/sec] (mean)
Time per request: 1993.750 [ms] (mean)
Time per request: 19.938 [ms] (mean, across all concurrent requests)
Transfer rate: 8.33 [Kbytes/sec] received

Connection Times (ms)
  min mean[+/-sd] median max
Connect: 0 15 24.8 0 531
Processing: 15 1952 550.1 2093 2609
Waiting: 0 1001 685.3 921 2468
Total: 15 1968 549.9 2109 2640

Percentage of the requests served within a certain time (ms)
  50% 2109
  66% 2218
  75% 2312
  80% 2390
  90% 2484
  95% 2500
  98% 2515
  99% 2515
 100% 2640 (longest request)







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"karrigell" group.
To post to this group, send email to karrigell在googlegroups.com
To unsubscribe from this group, send email to
karrigell+unsubscribe在googlegroups.com2Bunsubscribe在googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/karrigell?hl=en
-~----------~----~----~----~------~----~------~--~---




-- 

http://zoomquiet.org'''
过程改进乃是催生可促生靠谱的人的组织!
PE keeps evolving organizations which promoting people be good!'''
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: <http://www.zeuux.org/pipermail/zeuux-python/attachments/20080831/0949e5df/attachment.html>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2024

    京ICP备05028076号