chore: normalize regional project files
This commit is contained in:
@@ -326,9 +326,7 @@ func get_headcount() -> int:
|
|||||||
return headcount
|
return headcount
|
||||||
|
|
||||||
|
|
||||||
func with_location(
|
func with_location(address: SpatialAddress, cause_event_id: int = -1) -> MobileGroupStateRecord:
|
||||||
address: SpatialAddress, cause_event_id: int = -1
|
|
||||||
) -> MobileGroupStateRecord:
|
|
||||||
var history_event_ids := _history_with_event(cause_event_id)
|
var history_event_ids := _history_with_event(cause_event_id)
|
||||||
return create_at_location(
|
return create_at_location(
|
||||||
get_group_id(),
|
get_group_id(),
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
uid://hjnmwlkf4fu2
|
||||||
@@ -47,7 +47,8 @@ func _run() -> void:
|
|||||||
"default_execution_budget": DEFAULT_BUDGET,
|
"default_execution_budget": DEFAULT_BUDGET,
|
||||||
"fixture": _fixture_summary(samples[0]),
|
"fixture": _fixture_summary(samples[0]),
|
||||||
"default_budget": _summarize_timings(samples),
|
"default_budget": _summarize_timings(samples),
|
||||||
"budget_parity": {
|
"budget_parity":
|
||||||
|
{
|
||||||
"budget_one_final_checksum": budget_one["final_checksum"],
|
"budget_one_final_checksum": budget_one["final_checksum"],
|
||||||
"budget_one_drain_batches": budget_one["drain_batches"],
|
"budget_one_drain_batches": budget_one["drain_batches"],
|
||||||
"unlimited_final_checksum": unlimited["final_checksum"],
|
"unlimited_final_checksum": unlimited["final_checksum"],
|
||||||
@@ -64,6 +65,7 @@ func _run() -> void:
|
|||||||
output.store_string(JSON.stringify(report, "\t") + "\n")
|
output.store_string(JSON.stringify(report, "\t") + "\n")
|
||||||
output.close()
|
output.close()
|
||||||
print(
|
print(
|
||||||
|
(
|
||||||
(
|
(
|
||||||
"[BENCH] regional | %d named + %d aggregate | %d caravans | "
|
"[BENCH] regional | %d named + %d aggregate | %d caravans | "
|
||||||
+ "%d jobs | median %.2f ms total | %.2f MiB state"
|
+ "%d jobs | median %.2f ms total | %.2f MiB state"
|
||||||
@@ -77,6 +79,7 @@ func _run() -> void:
|
|||||||
float(report["fixture"]["regional_state_bytes"]) / (1024.0 * 1024.0),
|
float(report["fixture"]["regional_state_bytes"]) / (1024.0 * 1024.0),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
)
|
||||||
print("[BENCH] Report: %s" % ProjectSettings.globalize_path(output_path))
|
print("[BENCH] Report: %s" % ProjectSettings.globalize_path(output_path))
|
||||||
quit(0)
|
quit(0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user