Refactor civilization flow reward calculations for improved accuracy and performance
This commit is contained in:
@@ -0,0 +1,645 @@
|
||||
{
|
||||
"reference_commit": "c429403",
|
||||
"delta_seconds": 0.2,
|
||||
"exact_state_differential": true,
|
||||
"input_sha256": {
|
||||
"all_objects_speed6": "44bee3b3753fa51615f766d8f800a10cc2b70c8e7fb4ea12b6e18da7f07a7d67",
|
||||
"many_objects_fragmented_stars_cycle": "1e95ef398923f26b912a305c84f9b3eb502d24cb14e8ae687a4becccf047324a"
|
||||
},
|
||||
"order": "before-after-after-before",
|
||||
"runs": [
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 417.124,
|
||||
"mean_ms": 381.20745,
|
||||
"min_ms": 328.622,
|
||||
"model": "before",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
24482,
|
||||
80
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
127513,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
54148,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
140918,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
905665,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
2240897,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
63936,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
685115,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
323853,
|
||||
80
|
||||
],
|
||||
"generation_products": [
|
||||
195550,
|
||||
40
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
565054,
|
||||
60
|
||||
],
|
||||
"generations": [
|
||||
2802836,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
117049,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
123941,
|
||||
3016
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
294599,
|
||||
200
|
||||
],
|
||||
"production": [
|
||||
385593,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
363466,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 1,
|
||||
"save": "all_objects_speed6"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 390.389,
|
||||
"mean_ms": 357.03875,
|
||||
"min_ms": 302.117,
|
||||
"model": "after",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
24490,
|
||||
80
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
125647,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
54325,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
141339,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
902399,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
1755403,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
63055,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
683933,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
324284,
|
||||
80
|
||||
],
|
||||
"generation_products": [
|
||||
197296,
|
||||
40
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
562515,
|
||||
60
|
||||
],
|
||||
"generations": [
|
||||
2804447,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
117904,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
123892,
|
||||
3016
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
296839,
|
||||
200
|
||||
],
|
||||
"production": [
|
||||
389361,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
364246,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 1,
|
||||
"save": "all_objects_speed6"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 390.735,
|
||||
"mean_ms": 357.0124,
|
||||
"min_ms": 304.896,
|
||||
"model": "after",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
24460,
|
||||
80
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
125447,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
54216,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
139778,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
906760,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
1757858,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
63411,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
687170,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
325360,
|
||||
80
|
||||
],
|
||||
"generation_products": [
|
||||
196450,
|
||||
40
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
558924,
|
||||
60
|
||||
],
|
||||
"generations": [
|
||||
2799057,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
117825,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
123788,
|
||||
3016
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
295498,
|
||||
200
|
||||
],
|
||||
"production": [
|
||||
385114,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
367268,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 2,
|
||||
"save": "all_objects_speed6"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 410.865,
|
||||
"mean_ms": 379.9508,
|
||||
"min_ms": 328.074,
|
||||
"model": "before",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
24504,
|
||||
80
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
125523,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
54072,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
138884,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
900719,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
2238292,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
63477,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
687863,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
323929,
|
||||
80
|
||||
],
|
||||
"generation_products": [
|
||||
196146,
|
||||
40
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
557728,
|
||||
60
|
||||
],
|
||||
"generations": [
|
||||
2793469,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
117168,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
123830,
|
||||
3016
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
294159,
|
||||
200
|
||||
],
|
||||
"production": [
|
||||
382811,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
366676,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 2,
|
||||
"save": "all_objects_speed6"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 454.17,
|
||||
"mean_ms": 431.32255,
|
||||
"min_ms": 380.165,
|
||||
"model": "before",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
18277,
|
||||
60
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
138886,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
239194,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
140538,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
1823769,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
2332907,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
63920,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
689691,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
244580,
|
||||
60
|
||||
],
|
||||
"generation_products": [
|
||||
80081,
|
||||
20
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
823351,
|
||||
40
|
||||
],
|
||||
"generations": [
|
||||
2417052,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
145160,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
55841,
|
||||
1490
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
364671,
|
||||
140
|
||||
],
|
||||
"production": [
|
||||
414028,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
365376,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 1,
|
||||
"save": "many_objects_fragmented_stars_cycle"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 437.315,
|
||||
"mean_ms": 409.44945,
|
||||
"min_ms": 360.224,
|
||||
"model": "after",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
18338,
|
||||
60
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
139951,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
238906,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
141435,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
1834486,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
1841420,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
64315,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
691338,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
245861,
|
||||
60
|
||||
],
|
||||
"generation_products": [
|
||||
79738,
|
||||
20
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
825947,
|
||||
40
|
||||
],
|
||||
"generations": [
|
||||
2423500,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
145491,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
56085,
|
||||
1490
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
371874,
|
||||
140
|
||||
],
|
||||
"production": [
|
||||
441338,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
366919,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 1,
|
||||
"save": "many_objects_fragmented_stars_cycle"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 424.959,
|
||||
"mean_ms": 409.08685,
|
||||
"min_ms": 359.281,
|
||||
"model": "after",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
18404,
|
||||
60
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
140108,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
239591,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
141361,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
1836691,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
1842577,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
64001,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
692117,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
245631,
|
||||
60
|
||||
],
|
||||
"generation_products": [
|
||||
80486,
|
||||
20
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
829783,
|
||||
40
|
||||
],
|
||||
"generations": [
|
||||
2438245,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
145228,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
56248,
|
||||
1490
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
369443,
|
||||
140
|
||||
],
|
||||
"production": [
|
||||
416359,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
367683,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 2,
|
||||
"save": "many_objects_fragmented_stars_cycle"
|
||||
},
|
||||
{
|
||||
"cycles": 20,
|
||||
"max_ms": 452.639,
|
||||
"mean_ms": 434.50095,
|
||||
"min_ms": 387.05,
|
||||
"model": "before",
|
||||
"profile": {
|
||||
"assign_homes": [
|
||||
18271,
|
||||
60
|
||||
],
|
||||
"civilization_flow_capacity": [
|
||||
140778,
|
||||
20
|
||||
],
|
||||
"civilization_flow_colonies": [
|
||||
239800,
|
||||
20
|
||||
],
|
||||
"civilization_flow_finish": [
|
||||
141233,
|
||||
20
|
||||
],
|
||||
"civilization_flow_ledger": [
|
||||
1836252,
|
||||
20
|
||||
],
|
||||
"civilization_flow_plan": [
|
||||
2347237,
|
||||
20
|
||||
],
|
||||
"civilization_operator_build": [
|
||||
64454,
|
||||
20
|
||||
],
|
||||
"civilization_operator_solve": [
|
||||
693176,
|
||||
860
|
||||
],
|
||||
"enforce_capacity": [
|
||||
244735,
|
||||
60
|
||||
],
|
||||
"generation_products": [
|
||||
80563,
|
||||
20
|
||||
],
|
||||
"generation_withdrawal": [
|
||||
830888,
|
||||
40
|
||||
],
|
||||
"generations": [
|
||||
2436028,
|
||||
20
|
||||
],
|
||||
"initialize": [
|
||||
145261,
|
||||
20
|
||||
],
|
||||
"newborn_batches": [
|
||||
56321,
|
||||
1490
|
||||
],
|
||||
"physical_amounts_build": [
|
||||
369324,
|
||||
140
|
||||
],
|
||||
"production": [
|
||||
417541,
|
||||
20
|
||||
],
|
||||
"trends": [
|
||||
369444,
|
||||
20
|
||||
]
|
||||
},
|
||||
"run": 2,
|
||||
"save": "many_objects_fragmented_stars_cycle"
|
||||
}
|
||||
],
|
||||
"speed": 6
|
||||
}
|
||||
Reference in New Issue
Block a user