差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
python:moinmoin [2019/09/13 09:33] – [インストール] ともやん | python:moinmoin [2020/03/10 10:26] – ともやん | ||
---|---|---|---|
行 5: | 行 5: | ||
overflow: scroll; | overflow: scroll; | ||
overflow-x: hidden; | overflow-x: hidden; | ||
+ | font-size: 12px; | ||
+ | } | ||
+ | # | ||
+ | height: 200px; | ||
+ | overflow: scroll; | ||
+ | overflow-x: hidden; | ||
+ | font-size: 12px; | ||
} | } | ||
</ | </ | ||
行 45: | 行 52: | ||
$ chmod 775 quickinstall.py | $ chmod 775 quickinstall.py | ||
</ | </ | ||
- | <WRAP prewrap 100% #result> | + | <WRAP prewrap 100% #source_code> |
<file python moin/ | <file python moin/ | ||
# | # | ||
行 901: | 行 908: | ||
[[http:// | [[http:// | ||
{{: | {{: | ||
+ | |||
+ | ===== ApacheBench してみる ===== | ||
+ | ローカル簡易実行での ApacheBench の結果。\\ | ||
+ | **Web Server:** Werkzeug/ | ||
+ | **Wiki App:** MoinMoin2\\ | ||
+ | **Lang:** Python 3.7.4\\ | ||
+ | **Web Interface: | ||
+ | <WRAP prewrap 100% #result> | ||
+ | < | ||
+ | > ab -n 1000 -c 100 http:// | ||
+ | This is ApacheBench, | ||
+ | Copyright 1996 Adam Twiss, Zeus Technology Ltd, http:// | ||
+ | Licensed to The Apache Software Foundation, http:// | ||
+ | |||
+ | 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 | ||
+ | Completed 1000 requests | ||
+ | Finished 1000 requests | ||
+ | |||
+ | |||
+ | Server Software: | ||
+ | Server Hostname: | ||
+ | Server Port: 8080 | ||
+ | |||
+ | Document Path: /Home | ||
+ | Document Length: | ||
+ | |||
+ | Concurrency Level: | ||
+ | Time taken for tests: | ||
+ | Complete requests: | ||
+ | Failed requests: | ||
+ | | ||
+ | Total transferred: | ||
+ | HTML transferred: | ||
+ | Requests per second: | ||
+ | Time per request: | ||
+ | Time per request: | ||
+ | Transfer rate: 48.51 [Kbytes/ | ||
+ | |||
+ | Connection Times (ms) | ||
+ | min mean[+/-sd] median | ||
+ | Connect: | ||
+ | Processing: | ||
+ | Waiting: | ||
+ | Total: | ||
+ | |||
+ | Percentage of the requests served within a certain time (ms) | ||
+ | 50% 35389 | ||
+ | 66% 37042 | ||
+ | 75% 37648 | ||
+ | 80% 38042 | ||
+ | 90% 38871 | ||
+ | 95% 39403 | ||
+ | 98% 39964 | ||
+ | 99% 40189 | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | 1 秒間に平均どれくらいのリクエストをさばけるか?\\ | ||
+ | < | ||
+ | Requests per second: | ||
+ | </ | ||
+ | 1リクエストの平均応答時間は?\\ | ||
+ | < | ||
+ | Time per request: | ||
+ | </ | ||
+ | |||
+ | **Web Server:** Apache/ | ||
+ | **Wiki App:** DokuWiki Release 2018-04-22b " | ||
+ | **Lang:** PHP 7.3.3\\ | ||
+ | **Web Interface: | ||
+ | <WRAP prewrap 100% #result> | ||
+ | < | ||
+ | abs -n 1000 -c 100 https:// | ||
+ | This is ApacheBench, | ||
+ | Copyright 1996 Adam Twiss, Zeus Technology Ltd, http:// | ||
+ | Licensed to The Apache Software Foundation, http:// | ||
+ | |||
+ | Benchmarking wiki.monsters-g.local (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 | ||
+ | Completed 1000 requests | ||
+ | Finished 1000 requests | ||
+ | |||
+ | |||
+ | Server Software: | ||
+ | Server Hostname: | ||
+ | Server Port: 1443 | ||
+ | SSL/TLS Protocol: | ||
+ | Server Temp Key: ECDH P-256 256 bits | ||
+ | TLS Server Name: wiki.monsters-g.local | ||
+ | |||
+ | Document Path: /start | ||
+ | Document Length: | ||
+ | |||
+ | Concurrency Level: | ||
+ | Time taken for tests: | ||
+ | Complete requests: | ||
+ | Failed requests: | ||
+ | Total transferred: | ||
+ | HTML transferred: | ||
+ | Requests per second: | ||
+ | Time per request: | ||
+ | Time per request: | ||
+ | Transfer rate: 315.21 [Kbytes/ | ||
+ | |||
+ | Connection Times (ms) | ||
+ | min mean[+/-sd] median | ||
+ | Connect: | ||
+ | Processing: | ||
+ | Waiting: | ||
+ | Total: | ||
+ | |||
+ | Percentage of the requests served within a certain time (ms) | ||
+ | 50% 2713 | ||
+ | 66% 3079 | ||
+ | 75% 3954 | ||
+ | 80% 5102 | ||
+ | 90% 11795 | ||
+ | 95% 23513 | ||
+ | 98% 33594 | ||
+ | 99% 40993 | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Requests per second: | ||
+ | Time per request: | ||
+ | </ | ||
+ | |||
+ | ===== 参考文献 ===== | ||
+ | [[https:// | ||