ushmz / isucon-utils

0 stars 1 forks source link

alp Wed Jun 1 11:48:11 JST 2022 #7

Closed ushmz closed 2 years ago

ushmz commented 2 years ago

+-------+-----+-----+-----+-----+-----+--------+--------------------------+-------+-------+-------+-------+-------+-------+-------+--------+-----------+-----------+------------+-----------+
| COUNT | 1XX | 2XX | 3XX | 4XX | 5XX | METHOD |           URI            |  MIN  |  MAX  |  SUM  |  AVG  |  P90  |  P95  |  P99  | STDDEV | MIN(BODY) | MAX(BODY) | SUM(BODY)  | AVG(BODY) |
+-------+-----+-----+-----+-----+-----+--------+--------------------------+-------+-------+-------+-------+-------+-------+-------+--------+-----------+-----------+------------+-----------+
|    90 |   0 |   0 |   0 |  90 |   0 | POST   | /api/v1/users/logs/click | 0.000 | 0.001 | 0.035 | 0.000 | 0.001 | 0.001 | 0.001 |  0.000 |    12.000 |    12.000 |   1080.000 |    12.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/task/5           | 0.001 | 0.002 | 0.092 | 0.001 | 0.001 | 0.002 | 0.002 |  0.000 |  1004.000 |  1004.000 |  91364.000 |  1004.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/task/6           | 0.001 | 0.002 | 0.093 | 0.001 | 0.001 | 0.002 | 0.002 |  0.000 |   897.000 |   897.000 |  81627.000 |   897.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/task/7           | 0.001 | 0.002 | 0.088 | 0.001 | 0.001 | 0.001 | 0.002 |  0.000 |   931.000 |   931.000 |  84721.000 |   931.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/task/8           | 0.001 | 0.002 | 0.086 | 0.001 | 0.001 | 0.001 | 0.002 |  0.000 |   932.000 |   932.000 |  84812.000 |   932.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/serp/6           | 0.001 | 0.002 | 0.116 | 0.001 | 0.002 | 0.002 | 0.002 |  0.000 |  2190.000 |  2190.000 | 199290.000 |  2190.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/serp/7           | 0.001 | 0.002 | 0.118 | 0.001 | 0.002 | 0.002 | 0.002 |  0.000 |  4151.000 |  4151.000 | 377741.000 |  4151.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/serp/8           | 0.001 | 0.003 | 0.126 | 0.001 | 0.002 | 0.002 | 0.003 |  0.001 |  2717.000 |  2717.000 | 247247.000 |  2717.000 |
|    91 |   0 |   0 |   0 |  91 |   0 | POST   | /api/v1/task/answer      | 0.000 | 0.001 | 0.041 | 0.000 | 0.001 | 0.001 | 0.001 |  0.000 |     0.000 |     0.000 |      0.000 |     0.000 |
|    91 |   0 |   0 |   0 |  91 |   0 | POST   | /api/v1/users/logs/time  | 0.001 | 0.001 | 0.039 | 0.000 | 0.001 | 0.001 | 0.001 |  0.000 |    12.000 |    12.000 |   1092.000 |    12.000 |
|    91 |   0 |  91 |   0 |   0 |   0 | GET    | /api/v1/serp/5           | 0.001 | 0.002 | 0.119 | 0.001 | 0.002 | 0.002 | 0.002 |  0.000 |  2418.000 |  2418.000 | 220038.000 |  2418.000 |
+-------+-----+-----+-----+-----+-----+--------+--------------------------+-------+-------+-------+-------+-------+-------+-------+--------+-----------+-----------+------------+-----------+
ushmz commented 2 years ago
echo -e "\`\`\`\n" > b; cat access.log | alp ltsv >> b; echo -e "\n\`\`\`" >> b; export msg=$(cat b); gh issue create -t "alp $(date)" -b "$msg"