ソースを参照

rename asyncio > api_hour (#2527)

* rename asyncio > api_hour

* bodge api_hour into passing (hopefully)
Samuel Colvin 8 年 前
コミット
c5bab2332e
56 ファイル変更10 行追加16 行削除
  1. 1 1
      .travis.yml
  2. 0 0
      frameworks/Python/api_hour/.gitignore
  3. 2 2
      frameworks/Python/api_hour/README.md
  4. 0 0
      frameworks/Python/api_hour/aiohttp.web/.gitignore
  5. 0 0
      frameworks/Python/api_hour/aiohttp.web/LICENSE
  6. 0 0
      frameworks/Python/api_hour/aiohttp.web/README.rst
  7. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/default/hello
  8. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/hello/api_hour/gunicorn_conf.py
  9. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/hello/api_hour/logging.ini
  10. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/hello/main/main.yaml
  11. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/init.d/hello
  12. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/logrotate.d/hello
  13. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/monit/conf.d/hello
  14. 0 0
      frameworks/Python/api_hour/aiohttp.web/etc/rsyslog.conf
  15. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/__init__.py
  16. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/endpoints/__init__.py
  17. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/endpoints/world.py
  18. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/services/__init__.py
  19. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/services/mysql.py
  20. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/services/redis.py
  21. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/services/world.py
  22. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/templates/fortunes.html.j2
  23. 0 0
      frameworks/Python/api_hour/aiohttp.web/hello/utils/__init__.py
  24. 0 0
      frameworks/Python/api_hour/aiohttp.web/setup-mysql.sh
  25. 0 0
      frameworks/Python/api_hour/aiohttp.web/setup-postgresql.sh
  26. 0 0
      frameworks/Python/api_hour/aiohttp.web/setup.sh
  27. 0 0
      frameworks/Python/api_hour/aiohttp.web/source_code
  28. 6 11
      frameworks/Python/api_hour/benchmark_config.json
  29. 1 2
      frameworks/Python/api_hour/requirements.txt
  30. 0 0
      frameworks/Python/api_hour/yocto_http/.gitignore
  31. 0 0
      frameworks/Python/api_hour/yocto_http/LICENSE
  32. 0 0
      frameworks/Python/api_hour/yocto_http/README.rst
  33. 0 0
      frameworks/Python/api_hour/yocto_http/etc/default/hello
  34. 0 0
      frameworks/Python/api_hour/yocto_http/etc/hello/api_hour/gunicorn_conf.py
  35. 0 0
      frameworks/Python/api_hour/yocto_http/etc/hello/api_hour/logging.ini
  36. 0 0
      frameworks/Python/api_hour/yocto_http/etc/hello/main/main.yaml
  37. 0 0
      frameworks/Python/api_hour/yocto_http/etc/init.d/hello
  38. 0 0
      frameworks/Python/api_hour/yocto_http/etc/logrotate.d/hello
  39. 0 0
      frameworks/Python/api_hour/yocto_http/etc/monit/conf.d/hello
  40. 0 0
      frameworks/Python/api_hour/yocto_http/etc/rsyslog.conf
  41. 0 0
      frameworks/Python/api_hour/yocto_http/hello/__init__.py
  42. 0 0
      frameworks/Python/api_hour/yocto_http/hello/endpoints/__init__.py
  43. 0 0
      frameworks/Python/api_hour/yocto_http/hello/endpoints/world.py
  44. 0 0
      frameworks/Python/api_hour/yocto_http/hello/servers/__init__.py
  45. 0 0
      frameworks/Python/api_hour/yocto_http/hello/servers/yocto_http.py
  46. 0 0
      frameworks/Python/api_hour/yocto_http/hello/services/__init__.py
  47. 0 0
      frameworks/Python/api_hour/yocto_http/hello/services/redis.py
  48. 0 0
      frameworks/Python/api_hour/yocto_http/hello/services/world.py
  49. 0 0
      frameworks/Python/api_hour/yocto_http/hello/templates/fortunes.html.j2
  50. 0 0
      frameworks/Python/api_hour/yocto_http/hello/utils/__init__.py
  51. 0 0
      frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/__init__.py
  52. 0 0
      frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/application.py
  53. 0 0
      frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/request.py
  54. 0 0
      frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/utils.py
  55. 0 0
      frameworks/Python/api_hour/yocto_http/setup.sh
  56. 0 0
      frameworks/Python/api_hour/yocto_http/source_code

+ 1 - 1
.travis.yml

@@ -146,7 +146,7 @@ env:
     - "TESTDIR=PHP/zend"
     - "TESTDIR=PHP/zend1"
     - "TESTDIR=PHP/phreeze"
-    - "TESTDIR=Python/asyncio"
+    - "TESTDIR=Python/api_hour"
     - "TESTDIR=Python/bottle"
     - "TESTDIR=Python/cherrypy"
     - "TESTDIR=Python/django"

+ 0 - 0
frameworks/Python/asyncio/.gitignore → frameworks/Python/api_hour/.gitignore


+ 2 - 2
frameworks/Python/asyncio/README.md → frameworks/Python/api_hour/README.md

@@ -1,6 +1,6 @@
-# AsyncIO/API-Hour Benchmark Test
+# AsyncIO/aiohttp/API-Hour Benchmark Test
 
-This is the AsyncIO/API-Hour portion of a [benchmarking tests suite](../../) 
+This is the AsyncIO/aiohttp/API-Hour portion of a [benchmarking tests suite](../../) 
 comparing a variety of web development platforms.
 
 The information below is specific to AsyncIO/API-Hour. For further guidance, 

+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/.gitignore → frameworks/Python/api_hour/aiohttp.web/.gitignore


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/LICENSE → frameworks/Python/api_hour/aiohttp.web/LICENSE


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/README.rst → frameworks/Python/api_hour/aiohttp.web/README.rst


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/default/hello → frameworks/Python/api_hour/aiohttp.web/etc/default/hello


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/hello/api_hour/gunicorn_conf.py → frameworks/Python/api_hour/aiohttp.web/etc/hello/api_hour/gunicorn_conf.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/hello/api_hour/logging.ini → frameworks/Python/api_hour/aiohttp.web/etc/hello/api_hour/logging.ini


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/hello/main/main.yaml → frameworks/Python/api_hour/aiohttp.web/etc/hello/main/main.yaml


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/init.d/hello → frameworks/Python/api_hour/aiohttp.web/etc/init.d/hello


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/logrotate.d/hello → frameworks/Python/api_hour/aiohttp.web/etc/logrotate.d/hello


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/monit/conf.d/hello → frameworks/Python/api_hour/aiohttp.web/etc/monit/conf.d/hello


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/etc/rsyslog.conf → frameworks/Python/api_hour/aiohttp.web/etc/rsyslog.conf


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/__init__.py → frameworks/Python/api_hour/aiohttp.web/hello/__init__.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/endpoints/__init__.py → frameworks/Python/api_hour/aiohttp.web/hello/endpoints/__init__.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/endpoints/world.py → frameworks/Python/api_hour/aiohttp.web/hello/endpoints/world.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/services/__init__.py → frameworks/Python/api_hour/aiohttp.web/hello/services/__init__.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/services/mysql.py → frameworks/Python/api_hour/aiohttp.web/hello/services/mysql.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/services/redis.py → frameworks/Python/api_hour/aiohttp.web/hello/services/redis.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/services/world.py → frameworks/Python/api_hour/aiohttp.web/hello/services/world.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/templates/fortunes.html.j2 → frameworks/Python/api_hour/aiohttp.web/hello/templates/fortunes.html.j2


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/hello/utils/__init__.py → frameworks/Python/api_hour/aiohttp.web/hello/utils/__init__.py


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/setup-mysql.sh → frameworks/Python/api_hour/aiohttp.web/setup-mysql.sh


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/setup-postgresql.sh → frameworks/Python/api_hour/aiohttp.web/setup-postgresql.sh


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/setup.sh → frameworks/Python/api_hour/aiohttp.web/setup.sh


+ 0 - 0
frameworks/Python/asyncio/aiohttp.web/source_code → frameworks/Python/api_hour/aiohttp.web/source_code


+ 6 - 11
frameworks/Python/asyncio/benchmark_config.json → frameworks/Python/api_hour/benchmark_config.json

@@ -1,5 +1,5 @@
 {
-  "framework": "asyncio",
+  "framework": "api_hour",
   "tests": [{
     "default": {
       "setup_file": "aiohttp.web/setup-postgresql",
@@ -22,8 +22,7 @@
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "Asyncio",
-      "notes": "Python 3 + API-Hour + AsyncIO + aiohttp.web + PostgreSQL",
-      "versus": "asyncio"
+      "notes": "Python 3 + API-Hour + AsyncIO + aiohttp.web + PostgreSQL"
     },
     "mysql": {
       "setup_file": "aiohttp.web/setup-mysql",
@@ -44,8 +43,7 @@
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "Asyncio",
-      "notes": "Python 3 + API-Hour + AsyncIO + aiohttp.web + MySQL",
-      "versus": "asyncio"
+      "notes": "Python 3 + API-Hour + AsyncIO + aiohttp.web + MySQL"
     },
     "json": {
       "setup_file": "yocto_http/setup",
@@ -63,8 +61,7 @@
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "Asyncio",
-      "notes": "Python 3 + API-Hour + AsyncIO",
-      "versus": "asyncio"
+      "notes": "Python 3 + API-Hour + AsyncIO"
     },
     "dbs": {
       "setup_file": "yocto_http/setup",
@@ -84,8 +81,7 @@
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "Asyncio",
-      "notes": "Python 3 + API-Hour + AsyncIO",
-      "versus": "asyncio"
+      "notes": "Python 3 + API-Hour + AsyncIO"
     },
     "plaintext": {
       "setup_file": "yocto_http/setup",
@@ -103,8 +99,7 @@
       "os": "Linux",
       "database_os": "Linux",
       "display_name": "Asyncio",
-      "notes": "Python 3 + API-Hour + AsyncIO",
-      "versus": "asyncio"
+      "notes": "Python 3 + API-Hour + AsyncIO"
     }
   }]
 }

+ 1 - 2
frameworks/Python/asyncio/requirements.txt → frameworks/Python/api_hour/requirements.txt

@@ -14,7 +14,6 @@ PyYAML==3.11
 requests==2.7.0
 requests-futures==0.9.5
 setproctitle==1.1.8
-six==1.9.0
 ujson==1.33
 aiomysql==0.0.7
-PyMySQL==0.6.7
+PyMySQL==0.6.7

+ 0 - 0
frameworks/Python/asyncio/yocto_http/.gitignore → frameworks/Python/api_hour/yocto_http/.gitignore


+ 0 - 0
frameworks/Python/asyncio/yocto_http/LICENSE → frameworks/Python/api_hour/yocto_http/LICENSE


+ 0 - 0
frameworks/Python/asyncio/yocto_http/README.rst → frameworks/Python/api_hour/yocto_http/README.rst


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/default/hello → frameworks/Python/api_hour/yocto_http/etc/default/hello


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/hello/api_hour/gunicorn_conf.py → frameworks/Python/api_hour/yocto_http/etc/hello/api_hour/gunicorn_conf.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/hello/api_hour/logging.ini → frameworks/Python/api_hour/yocto_http/etc/hello/api_hour/logging.ini


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/hello/main/main.yaml → frameworks/Python/api_hour/yocto_http/etc/hello/main/main.yaml


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/init.d/hello → frameworks/Python/api_hour/yocto_http/etc/init.d/hello


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/logrotate.d/hello → frameworks/Python/api_hour/yocto_http/etc/logrotate.d/hello


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/monit/conf.d/hello → frameworks/Python/api_hour/yocto_http/etc/monit/conf.d/hello


+ 0 - 0
frameworks/Python/asyncio/yocto_http/etc/rsyslog.conf → frameworks/Python/api_hour/yocto_http/etc/rsyslog.conf


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/__init__.py → frameworks/Python/api_hour/yocto_http/hello/__init__.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/endpoints/__init__.py → frameworks/Python/api_hour/yocto_http/hello/endpoints/__init__.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/endpoints/world.py → frameworks/Python/api_hour/yocto_http/hello/endpoints/world.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/servers/__init__.py → frameworks/Python/api_hour/yocto_http/hello/servers/__init__.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/servers/yocto_http.py → frameworks/Python/api_hour/yocto_http/hello/servers/yocto_http.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/services/__init__.py → frameworks/Python/api_hour/yocto_http/hello/services/__init__.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/services/redis.py → frameworks/Python/api_hour/yocto_http/hello/services/redis.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/services/world.py → frameworks/Python/api_hour/yocto_http/hello/services/world.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/templates/fortunes.html.j2 → frameworks/Python/api_hour/yocto_http/hello/templates/fortunes.html.j2


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/utils/__init__.py → frameworks/Python/api_hour/yocto_http/hello/utils/__init__.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/utils/yocto_http/__init__.py → frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/__init__.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/utils/yocto_http/application.py → frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/application.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/utils/yocto_http/request.py → frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/request.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/hello/utils/yocto_http/utils.py → frameworks/Python/api_hour/yocto_http/hello/utils/yocto_http/utils.py


+ 0 - 0
frameworks/Python/asyncio/yocto_http/setup.sh → frameworks/Python/api_hour/yocto_http/setup.sh


+ 0 - 0
frameworks/Python/asyncio/yocto_http/source_code → frameworks/Python/api_hour/yocto_http/source_code