-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
334810c
commit 77749da
Showing
4 changed files
with
16 additions
and
10 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
global using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
global using Craftimizer.Solver; | ||
global using Craftimizer.Simulator; | ||
global using Craftimizer.Simulator.Actions; |
77749da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark
Craftimizer.Benchmark.Bench.Solve(State: SimulationState { Input = SimulationInput { Stats = CharacterStats { Craftsmanship = 3290, Control = 3541, CP = 649, Level = 90, CanUseManipulation = True, HasSplendorousBuff = False, IsSpecialist = False, CLvl = 560 }, Recipe = RecipeInfo { IsExpert = False, ClassJobLevel = 90, RLvl = 580, ConditionsFlag = 15, MaxDurability = 70, MaxQuality = 10920, MaxProgress = 3900, QualityModifier = 70, QualityDivider = 115, ProgressModifier = 80, ProgressDivider = 130 }, Random = System.Random, StartingQuality = 0, BaseProgressGain = 204, BaseQualityGain = 240 }, ActionCount = 0, StepCount = 0, Progress = 0, Quality = 0, Durability = 70, CP = 649, Condition = Normal, ActiveEffects = Effects { InnerQuiet = 0, WasteNot = 0, Veneration = 0, GreatStrides = 0, Innovation = 0, FinalAppraisal = 0, WasteNot2 = 0, MuscleMemory = 0, Manipulation = 0, HeartAndSoul = False }, ActionStates = ActionStates { TouchComboIdx = 0, CarefulObservationCount = 0, UsedHeartAndSoul = False, Observed = False }, HQPercent = 1, Collectability = 1, MaxCollectability = 1092, IsFirstStep = True }, Config: SolverConfig { Iterations = 30000, ScoreStorageThreshold = 1, MaxScoreWeightingConstant = 0.1, ExplorationConstant = 4, MaxStepCount = 30, MaxRolloutStepCount = 99, MaxThreadCount = 3, ForkCount = 32, FurcatedActionCount = 16, StrictActions = True, ScoreProgress = 0.2, ScoreQuality = 0.65, ScoreDurability = 0.05, ScoreCP = 0.05, ScoreSteps = 0.05, Algorithm = Stepwise })
1516255225
ns (± 1294457.9425381112
)1350316860
ns (± 4838774.167198016
)1.12
Craftimizer.Benchmark.Bench.Solve(State: SimulationState { Input = SimulationInput { Stats = CharacterStats { Craftsmanship = 3304, Control = 3374, CP = 575, Level = 90, CanUseManipulation = True, HasSplendorousBuff = False, IsSpecialist = False, CLvl = 560 }, Recipe = RecipeInfo { IsExpert = False, ClassJobLevel = 90, RLvl = 560, ConditionsFlag = 15, MaxDurability = 80, MaxQuality = 7200, MaxProgress = 3500, QualityModifier = 80, QualityDivider = 115, ProgressModifier = 90, ProgressDivider = 130 }, Random = System.Random, StartingQuality = 0, BaseProgressGain = 230, BaseQualityGain = 262 }, ActionCount = 0, StepCount = 0, Progress = 0, Quality = 0, Durability = 80, CP = 575, Condition = Normal, ActiveEffects = Effects { InnerQuiet = 0, WasteNot = 0, Veneration = 0, GreatStrides = 0, Innovation = 0, FinalAppraisal = 0, WasteNot2 = 0, MuscleMemory = 0, Manipulation = 0, HeartAndSoul = False }, ActionStates = ActionStates { TouchComboIdx = 0, CarefulObservationCount = 0, UsedHeartAndSoul = False, Observed = False }, HQPercent = 1, Collectability = 1, MaxCollectability = 720, IsFirstStep = True }, Config: SolverConfig { Iterations = 30000, ScoreStorageThreshold = 1, MaxScoreWeightingConstant = 0.1, ExplorationConstant = 4, MaxStepCount = 30, MaxRolloutStepCount = 99, MaxThreadCount = 3, ForkCount = 32, FurcatedActionCount = 16, StrictActions = True, ScoreProgress = 0.2, ScoreQuality = 0.65, ScoreDurability = 0.05, ScoreCP = 0.05, ScoreSteps = 0.05, Algorithm = Stepwise })
1561184490
ns (± 7903809.932410234
)1714389753.3333333
ns (± 7147584.623480124
)0.91
This comment was automatically generated by workflow using github-action-benchmark.