chore: normalize regional project files
This commit is contained in:
@@ -47,7 +47,8 @@ func _run() -> void:
|
||||
"default_execution_budget": DEFAULT_BUDGET,
|
||||
"fixture": _fixture_summary(samples[0]),
|
||||
"default_budget": _summarize_timings(samples),
|
||||
"budget_parity": {
|
||||
"budget_parity":
|
||||
{
|
||||
"budget_one_final_checksum": budget_one["final_checksum"],
|
||||
"budget_one_drain_batches": budget_one["drain_batches"],
|
||||
"unlimited_final_checksum": unlimited["final_checksum"],
|
||||
@@ -65,17 +66,19 @@ func _run() -> void:
|
||||
output.close()
|
||||
print(
|
||||
(
|
||||
"[BENCH] regional | %d named + %d aggregate | %d caravans | "
|
||||
+ "%d jobs | median %.2f ms total | %.2f MiB state"
|
||||
(
|
||||
"[BENCH] regional | %d named + %d aggregate | %d caravans | "
|
||||
+ "%d jobs | median %.2f ms total | %.2f MiB state"
|
||||
)
|
||||
% [
|
||||
report["fixture"]["named_person_count"],
|
||||
report["fixture"]["cohort_resident_count"],
|
||||
report["fixture"]["caravan_count"],
|
||||
report["fixture"]["initial_job_count"],
|
||||
float(report["default_budget"]["elapsed_usec_median"]) / 1000.0,
|
||||
float(report["fixture"]["regional_state_bytes"]) / (1024.0 * 1024.0),
|
||||
]
|
||||
)
|
||||
% [
|
||||
report["fixture"]["named_person_count"],
|
||||
report["fixture"]["cohort_resident_count"],
|
||||
report["fixture"]["caravan_count"],
|
||||
report["fixture"]["initial_job_count"],
|
||||
float(report["default_budget"]["elapsed_usec_median"]) / 1000.0,
|
||||
float(report["fixture"]["regional_state_bytes"]) / (1024.0 * 1024.0),
|
||||
]
|
||||
)
|
||||
print("[BENCH] Report: %s" % ProjectSettings.globalize_path(output_path))
|
||||
quit(0)
|
||||
|
||||
Reference in New Issue
Block a user