benchmark_config.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "framework": "api_hour",
  3. "tests": [{
  4. "default": {
  5. "json_url": "/json",
  6. "db_url": "/db",
  7. "query_url": "/queries?queries=",
  8. "fortune_url": "/fortunes",
  9. "update_url": "/updates?queries=",
  10. "plaintext_url": "/plaintext",
  11. "port": 8080,
  12. "approach": "Realistic",
  13. "classification": "Micro",
  14. "database": "Postgres",
  15. "framework": "api_hour",
  16. "language": "Python",
  17. "flavor": "Python3",
  18. "orm": "Raw",
  19. "platform": "asyncio",
  20. "webserver": "Gunicorn",
  21. "os": "Linux",
  22. "database_os": "Linux",
  23. "display_name": "API-Hour-PG",
  24. "notes": "Python 3 + API-Hour + AsyncIO + aiohttp + PostgreSQL"
  25. },
  26. "mysql": {
  27. "db_url": "/db_mysql",
  28. "query_url": "/queries_mysql?queries=",
  29. "fortune_url": "/fortunes_mysql",
  30. "update_url": "/updates_mysql?queries=",
  31. "port": 8080,
  32. "approach": "Realistic",
  33. "classification": "Micro",
  34. "database": "MySQL",
  35. "framework": "api_hour",
  36. "language": "Python",
  37. "flavor": "Python3",
  38. "orm": "Raw",
  39. "platform": "asyncio",
  40. "webserver": "Gunicorn",
  41. "os": "Linux",
  42. "database_os": "Linux",
  43. "display_name": "API-Hour-MySQL",
  44. "notes": "Python 3 + API-Hour + AsyncIO + aiohttp + MySQL"
  45. },
  46. "json": {
  47. "json_url": "/json",
  48. "port": 8080,
  49. "approach": "Stripped",
  50. "classification": "Platform",
  51. "database": "None",
  52. "framework": "api_hour",
  53. "language": "Python",
  54. "flavor": "Python3",
  55. "orm": "Raw",
  56. "platform": "asyncio",
  57. "webserver": "Gunicorn",
  58. "os": "Linux",
  59. "database_os": "Linux",
  60. "display_name": "API-Hour-yocto",
  61. "notes": "Python 3 + API-Hour + AsyncIO"
  62. },
  63. "dbs": {
  64. "db_url": "/db",
  65. "query_url": "/queries?queries=",
  66. "update_url": "/updates?queries=",
  67. "port": 8081,
  68. "approach": "Stripped",
  69. "classification": "Platform",
  70. "database": "Postgres",
  71. "framework": "api_hour",
  72. "language": "Python",
  73. "flavor": "Python3",
  74. "orm": "Raw",
  75. "platform": "asyncio",
  76. "webserver": "Gunicorn",
  77. "os": "Linux",
  78. "database_os": "Linux",
  79. "display_name": "API-Hour-yocto",
  80. "notes": "Python 3 + API-Hour + AsyncIO"
  81. },
  82. "plaintext": {
  83. "plaintext_url": "/plaintext",
  84. "port": 8082,
  85. "approach": "Stripped",
  86. "classification": "Platform",
  87. "database": "None",
  88. "framework": "api_hour",
  89. "language": "Python",
  90. "flavor": "Python3",
  91. "orm": "Raw",
  92. "platform": "asyncio",
  93. "webserver": "Gunicorn",
  94. "os": "Linux",
  95. "database_os": "Linux",
  96. "display_name": "API-Hour-yocto",
  97. "notes": "Python 3 + API-Hour + AsyncIO"
  98. }
  99. }]
  100. }