ok8omk / isucon10

0 stars 0 forks source link

ベンチマークの記録 #1

Open ok8omk opened 3 years ago

ok8omk commented 3 years ago
変更点 スコア 負荷レベル
最初 370 1
ok8omk commented 3 years ago

何も変えてない最初 負荷レベル: 1、score: 370

isucon@ip-172-31-10-107:~/isuumo/bench$ ./bench
2021/08/08 02:21:19 bench.go:78: === initialize ===
2021/08/08 02:21:29 bench.go:90: === verify ===
2021/08/08 02:21:30 bench.go:100: === validation ===
2021/08/08 02:22:16 load.go:181: 負荷レベルが上昇しました。
2021/08/08 02:22:26 fails.go:105: [client.(*Client).SearchEstatesNazotte] /home/isucon/isuumo/bench/client/webapp.go:367
    message("POST /api/estate/nazotte: リクエストに失敗しました")
[client.(*Client).Do] /home/isucon/isuumo/bench/client/client.go:136
    code(error timeout)
    *url.Error("Post \"http://localhost:1323/api/estate/nazotte\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)")
    *http.httpError("context deadline exceeded (Client.Timeout exceeded while awaiting headers)")
[CallStack]
    [client.(*Client).Do] /home/isucon/isuumo/bench/client/client.go:136
    [client.(*Client).SearchEstatesNazotte] /home/isucon/isuumo/bench/client/webapp.go:361
    [scenario.estateNazotteSearchScenario] /home/isucon/isuumo/bench/scenario/estateNazotteSearchScenario.go:214
    [scenario.runEstateNazotteSearchWorker] /home/isucon/isuumo/bench/scenario/load.go:100
    [runtime.goexit] /home/isucon/local/go/src/runtime/asm_amd64.s:1373
2021/08/08 02:22:30 bench.go:102: 最終的な負荷レベル: 1
{"pass":true,"score":370,"messages":[{"text":"POST /api/estate/nazotte: リクエストに失敗しました (タイムアウトしました)","count":1}],"reason":"OK","language":"python"}
ok8omk commented 3 years ago

10 のマージ後

2021/08/08 06:02:13 bench.go:94: verify failed
{"pass":false,"score":0,"messages":[{"text":"POST /api/estate/nazotte: レスポンス
が不正です","count":5}],"reason":"スコアが0点を下回りました","language":"python"}