-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from isucon/bench/impl-23
Bench/impl 23
- Loading branch information
Showing
20 changed files
with
523 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package bench | ||
|
||
const ( | ||
ConstMaxError = 30 | ||
ConstMaxCriticalError = 10 | ||
|
||
// TODO: 以下ほぼすべて要調整 | ||
|
||
// NewTenantScenario | ||
ConstNewTenantScenarioPlayerWorkerNum = 10 // 作成するplayer worker数 | ||
|
||
// PopularTenantScenario | ||
ConstPopularTenantScenarioScoreRepeat = 2 | ||
ConstPopularTenantScenarioAddScoreNum = 100 // 1度のスコア入稿で増える数 | ||
|
||
// PlayerScenario | ||
ConstPlayerScenarioCompetitionLoopCount = 10 // 一周でいくつ大会を見るか | ||
ConstPlayerScenarioMaxPlayerCount = 10 // 大会1つあたり何人のプレイヤー詳細を見るか(最大値) | ||
|
||
// PeacefulTenantScenario | ||
ConstPeacefulTenantScenarioIDRange = 20 // 破壊的シナリオを許容するtenantID幅 後ろn件 | ||
|
||
// BillingValidateScenario | ||
ConstBillingValidateScenarioPlayerNum = 100 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.