Files

244 lines
46 KiB
JSON

{
"scope": "24 original bodies preserved under signature rename+wrappers in four files; existing accepted native Budget dependency reused without new budget wrapper. Current275 only, nested inclusive durations include children/overhead.",
"files": {
"autoload/simulation_runtime.gd": {
"before": {
"bytes": 611530,
"sha256": "b4201726a735e9d979bd1ffae626ecd43ad2b76e4c7d1b51430884609bf2f4dc"
},
"after": {
"bytes": 619011,
"sha256": "3da67f9c2c446ac9f4e26725cd48f9694cd0973646330f6bccc9e4aacfca64cd"
},
"wrappers": [
{
"name": "_project_guest_candidates",
"renamed": "_p23r311_original_project_guest_candidates",
"signature": "func _project_guest_candidates(guest_id: StringName) -> Array:\n",
"renamed_signature": "func _p23r311_original_project_guest_candidates(guest_id: StringName) -> Array:\n",
"wrapper": "func _project_guest_candidates(guest_id: StringName) -> Array:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array = _p23r311_original_project_guest_candidates(guest_id)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_project_guest_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_decide_guest_with_log",
"renamed": "_p23r311_original_decide_guest_with_log",
"signature": "func _decide_guest_with_log(guest_id: StringName, candidates: Array, minute: int, context: Dictionary) -> Dictionary:\n",
"renamed_signature": "func _p23r311_original_decide_guest_with_log(guest_id: StringName, candidates: Array, minute: int, context: Dictionary) -> Dictionary:\n",
"wrapper": "func _decide_guest_with_log(guest_id: StringName, candidates: Array, minute: int, context: Dictionary) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original_decide_guest_with_log(guest_id, candidates, minute, context)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_decide_guest_with_log\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_find_facility_access_path",
"renamed": "_p23r311_original_find_facility_access_path",
"signature": "func _find_facility_access_path(start: Vector3i, facility: FacilityInstance) -> Dictionary:\n",
"renamed_signature": "func _p23r311_original_find_facility_access_path(start: Vector3i, facility: FacilityInstance) -> Dictionary:\n",
"wrapper": "func _find_facility_access_path(start: Vector3i, facility: FacilityInstance) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original_find_facility_access_path(start, facility)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_find_facility_access_path\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_estimated_actor_path_minutes",
"renamed": "_p23r311_original_estimated_actor_path_minutes",
"signature": "func _estimated_actor_path_minutes(path: Array, access: Array[StringName]) -> int:\n",
"renamed_signature": "func _p23r311_original_estimated_actor_path_minutes(path: Array, access: Array[StringName]) -> int:\n",
"wrapper": "func _estimated_actor_path_minutes(path: Array, access: Array[StringName]) -> int:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: int = _p23r311_original_estimated_actor_path_minutes(path, access)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_estimated_actor_path_minutes\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_facility_access_candidates",
"renamed": "_p23r311_original_facility_access_candidates",
"signature": "func _facility_access_candidates(facility: FacilityInstance) -> Array:\n",
"renamed_signature": "func _p23r311_original_facility_access_candidates(facility: FacilityInstance) -> Array:\n",
"wrapper": "func _facility_access_candidates(facility: FacilityInstance) -> Array:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array = _p23r311_original_facility_access_candidates(facility)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_facility_access_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_guest_access_batch_can_select",
"renamed": "_p23r311_original_guest_access_batch_can_select",
"signature": "func _guest_access_batch_can_select() -> bool:\n",
"renamed_signature": "func _p23r311_original_guest_access_batch_can_select() -> bool:\n",
"wrapper": "func _guest_access_batch_can_select() -> bool:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: bool = _p23r311_original_guest_access_batch_can_select()\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_access_batch_can_select\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_project_guest_candidates_without_native",
"renamed": "_p23r311_original__project_guest_candidates_without_native",
"signature": "func _project_guest_candidates_without_native(guest_id: StringName) -> Array:\n",
"renamed_signature": "func _p23r311_original__project_guest_candidates_without_native(guest_id: StringName) -> Array:\n",
"wrapper": "func _project_guest_candidates_without_native(guest_id: StringName) -> Array:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array = _p23r311_original__project_guest_candidates_without_native(guest_id)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_project_guest_candidates_without_native\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_need_relief_for_facility_tags",
"renamed": "_p23r311_original__need_relief_for_facility_tags",
"signature": "func _need_relief_for_facility_tags(tags: Array[StringName]) -> Dictionary:\n",
"renamed_signature": "func _p23r311_original__need_relief_for_facility_tags(tags: Array[StringName]) -> Dictionary:\n",
"wrapper": "func _need_relief_for_facility_tags(tags: Array[StringName]) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original__need_relief_for_facility_tags(tags)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_need_relief_for_facility_tags\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_service_category_for_tags",
"renamed": "_p23r311_original__service_category_for_tags",
"signature": "func _service_category_for_tags(tags: Array[StringName]) -> StringName:\n",
"renamed_signature": "func _p23r311_original__service_category_for_tags(tags: Array[StringName]) -> StringName:\n",
"wrapper": "func _service_category_for_tags(tags: Array[StringName]) -> StringName:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: StringName = _p23r311_original__service_category_for_tags(tags)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_service_category_for_tags\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "get_facility_business_price",
"renamed": "_p23r311_original_get_facility_business_price",
"signature": "func get_facility_business_price(facility: FacilityInstance) -> int:\n",
"renamed_signature": "func _p23r311_original_get_facility_business_price(facility: FacilityInstance) -> int:\n",
"wrapper": "func get_facility_business_price(facility: FacilityInstance) -> int:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: int = _p23r311_original_get_facility_business_price(facility)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"get_facility_business_price\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_publish_snapshot",
"renamed": "_p23r311_original__publish_snapshot",
"signature": "func _publish_snapshot(_absolute_minute: int) -> void:\n",
"renamed_signature": "func _p23r311_original__publish_snapshot(_absolute_minute: int) -> void:\n",
"wrapper": "func _publish_snapshot(_absolute_minute: int) -> void:\n\tvar p23_started: int = Time.get_ticks_usec()\n\t_p23r311_original__publish_snapshot(_absolute_minute)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_publish_snapshot\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n"
}
],
"added_suffix": "\n# Private r311 diagnostic fields only; never serialized. Timings are nested/inclusive.\nvar _p23r311_metrics: Dictionary = {}\n\nfunc _project_guest_candidates(guest_id: StringName) -> Array:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array = _p23r311_original_project_guest_candidates(guest_id)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_project_guest_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _decide_guest_with_log(guest_id: StringName, candidates: Array, minute: int, context: Dictionary) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original_decide_guest_with_log(guest_id, candidates, minute, context)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_decide_guest_with_log\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _find_facility_access_path(start: Vector3i, facility: FacilityInstance) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original_find_facility_access_path(start, facility)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_find_facility_access_path\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _estimated_actor_path_minutes(path: Array, access: Array[StringName]) -> int:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: int = _p23r311_original_estimated_actor_path_minutes(path, access)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_estimated_actor_path_minutes\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\n\nfunc _facility_access_candidates(facility: FacilityInstance) -> Array:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array = _p23r311_original_facility_access_candidates(facility)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_facility_access_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _guest_access_batch_can_select() -> bool:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: bool = _p23r311_original_guest_access_batch_can_select()\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_access_batch_can_select\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _project_guest_candidates_without_native(guest_id: StringName) -> Array:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array = _p23r311_original__project_guest_candidates_without_native(guest_id)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_project_guest_candidates_without_native\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _need_relief_for_facility_tags(tags: Array[StringName]) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original__need_relief_for_facility_tags(tags)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_need_relief_for_facility_tags\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _service_category_for_tags(tags: Array[StringName]) -> StringName:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: StringName = _p23r311_original__service_category_for_tags(tags)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_service_category_for_tags\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc get_facility_business_price(facility: FacilityInstance) -> int:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: int = _p23r311_original_get_facility_business_price(facility)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"get_facility_business_price\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _publish_snapshot(_absolute_minute: int) -> void:\n\tvar p23_started: int = Time.get_ticks_usec()\n\t_p23r311_original__publish_snapshot(_absolute_minute)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_publish_snapshot\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n",
"inverse_original_equal": true
},
"scripts/world/path_service.gd": {
"before": {
"bytes": 132925,
"sha256": "6b7f4e989ea9b09495f814d8ecb294028d10794005966414bf52640e122b0d17"
},
"after": {
"bytes": 139394,
"sha256": "c96dc7b3ae6ed7107d410631e9d7501c5e25d0c4696a76d621e6bcd7ff2f7a97"
},
"wrappers": [
{
"name": "begin_guest_path_query_batch",
"renamed": "_p23r311_originalbegin_guest_path_query_batch",
"signature": "func begin_guest_path_query_batch(start: Vector3i, goals: Array) -> void:\n",
"renamed_signature": "func _p23r311_originalbegin_guest_path_query_batch(start: Vector3i, goals: Array) -> void:\n",
"wrapper": "func begin_guest_path_query_batch(start: Vector3i, goals: Array) -> void:\n\tvar p23_started: int = Time.get_ticks_usec()\n\t_p23r311_originalbegin_guest_path_query_batch(start, goals)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"begin_guest_path_query_batch\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n"
},
{
"name": "query_nearest_guest_access",
"renamed": "_p23r311_originalquery_nearest_guest_access",
"signature": "func query_nearest_guest_access(start: Vector3i, goals: Array, fallback_target: Vector3i) -> Dictionary:\n",
"renamed_signature": "func _p23r311_originalquery_nearest_guest_access(start: Vector3i, goals: Array, fallback_target: Vector3i) -> Dictionary:\n",
"wrapper": "func query_nearest_guest_access(start: Vector3i, goals: Array, fallback_target: Vector3i) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_originalquery_nearest_guest_access(start, goals, fallback_target)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"query_nearest_guest_access\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_build_guest_query_tree_shared_result",
"renamed": "_p23r311_original_build_guest_query_tree_shared_result",
"signature": "func _build_guest_query_tree_shared_result(start: Vector3i, goals: Dictionary, layers: Array[int], access: Array[StringName], compact_result: bool) -> Dictionary:\n",
"renamed_signature": "func _p23r311_original_build_guest_query_tree_shared_result(start: Vector3i, goals: Dictionary, layers: Array[int], access: Array[StringName], compact_result: bool) -> Dictionary:\n",
"wrapper": "func _build_guest_query_tree_shared_result(start: Vector3i, goals: Dictionary, layers: Array[int], access: Array[StringName], compact_result: bool) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original_build_guest_query_tree_shared_result(start, goals, layers, access, compact_result)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_build_guest_query_tree_shared_result\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_resolve_ready_guest_batch_point",
"renamed": "_p23r311_original_resolve_ready_guest_batch_point",
"signature": "func _resolve_ready_guest_batch_point(start: Vector3i, goal: Vector3i, tree: Dictionary) -> Array[Vector3i]:\n",
"renamed_signature": "func _p23r311_original_resolve_ready_guest_batch_point(start: Vector3i, goal: Vector3i, tree: Dictionary) -> Array[Vector3i]:\n",
"wrapper": "func _resolve_ready_guest_batch_point(start: Vector3i, goal: Vector3i, tree: Dictionary) -> Array[Vector3i]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Vector3i] = _p23r311_original_resolve_ready_guest_batch_point(start, goal, tree)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_resolve_ready_guest_batch_point\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_guest_tree_reconstruct_path",
"renamed": "_p23r311_original_guest_tree_reconstruct_path",
"signature": "func _guest_tree_reconstruct_path(tree: Dictionary, goal: Vector3i) -> Array[Vector3i]:\n",
"renamed_signature": "func _p23r311_original_guest_tree_reconstruct_path(tree: Dictionary, goal: Vector3i) -> Array[Vector3i]:\n",
"wrapper": "func _guest_tree_reconstruct_path(tree: Dictionary, goal: Vector3i) -> Array[Vector3i]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Vector3i] = _p23r311_original_guest_tree_reconstruct_path(tree, goal)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_tree_reconstruct_path\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_cache_key",
"renamed": "_p23r311_original_cache_key",
"signature": "func _cache_key(\n\tstart: Vector3i,\n\tgoal: Vector3i,\n\tallowed_layers: Array[int],\n\tallowed_access_ids: Array[StringName]\n) -> String:\n",
"renamed_signature": "func _p23r311_original_cache_key(\n\tstart: Vector3i,\n\tgoal: Vector3i,\n\tallowed_layers: Array[int],\n\tallowed_access_ids: Array[StringName]\n) -> String:\n",
"wrapper": "func _cache_key(\n\tstart: Vector3i,\n\tgoal: Vector3i,\n\tallowed_layers: Array[int],\n\tallowed_access_ids: Array[StringName]\n) -> String:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: String = _p23r311_original_cache_key(start, goal, allowed_layers, allowed_access_ids)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_cache_key\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_copy_path",
"renamed": "_p23r311_original_copy_path",
"signature": "func _copy_path(path: Array) -> Array[Vector3i]:\n",
"renamed_signature": "func _p23r311_original_copy_path(path: Array) -> Array[Vector3i]:\n",
"wrapper": "func _copy_path(path: Array) -> Array[Vector3i]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Vector3i] = _p23r311_original_copy_path(path)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_copy_path\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_guest_tree_cost",
"renamed": "_p23r311_original_guest_tree_cost",
"signature": "func _guest_tree_cost(tree: Dictionary, cell: Vector3i) -> int:\n",
"renamed_signature": "func _p23r311_original_guest_tree_cost(tree: Dictionary, cell: Vector3i) -> int:\n",
"wrapper": "func _guest_tree_cost(tree: Dictionary, cell: Vector3i) -> int:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: int = _p23r311_original_guest_tree_cost(tree, cell)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_tree_cost\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "_guest_batch_has_permitted_layer_crossing",
"renamed": "_p23r311_original_guest_batch_has_permitted_layer_crossing",
"signature": "func _guest_batch_has_permitted_layer_crossing(start: Vector3i, goal: Vector3i, layers: Array[int], access: Array[StringName]) -> bool:\n",
"renamed_signature": "func _p23r311_original_guest_batch_has_permitted_layer_crossing(start: Vector3i, goal: Vector3i, layers: Array[int], access: Array[StringName]) -> bool:\n",
"wrapper": "func _guest_batch_has_permitted_layer_crossing(start: Vector3i, goal: Vector3i, layers: Array[int], access: Array[StringName]) -> bool:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: bool = _p23r311_original_guest_batch_has_permitted_layer_crossing(start, goal, layers, access)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_batch_has_permitted_layer_crossing\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
}
],
"added_suffix": "\n# Private r311 diagnostic fields only; never serialized. Timings are nested/inclusive.\nvar _p23r311_metrics: Dictionary = {}\n\nfunc begin_guest_path_query_batch(start: Vector3i, goals: Array) -> void:\n\tvar p23_started: int = Time.get_ticks_usec()\n\t_p23r311_originalbegin_guest_path_query_batch(start, goals)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"begin_guest_path_query_batch\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\nfunc query_nearest_guest_access(start: Vector3i, goals: Array, fallback_target: Vector3i) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_originalquery_nearest_guest_access(start, goals, fallback_target)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"query_nearest_guest_access\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _build_guest_query_tree_shared_result(start: Vector3i, goals: Dictionary, layers: Array[int], access: Array[StringName], compact_result: bool) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_original_build_guest_query_tree_shared_result(start, goals, layers, access, compact_result)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_build_guest_query_tree_shared_result\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _resolve_ready_guest_batch_point(start: Vector3i, goal: Vector3i, tree: Dictionary) -> Array[Vector3i]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Vector3i] = _p23r311_original_resolve_ready_guest_batch_point(start, goal, tree)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_resolve_ready_guest_batch_point\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _guest_tree_reconstruct_path(tree: Dictionary, goal: Vector3i) -> Array[Vector3i]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Vector3i] = _p23r311_original_guest_tree_reconstruct_path(tree, goal)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_tree_reconstruct_path\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\n\nfunc _cache_key(\n\tstart: Vector3i,\n\tgoal: Vector3i,\n\tallowed_layers: Array[int],\n\tallowed_access_ids: Array[StringName]\n) -> String:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: String = _p23r311_original_cache_key(start, goal, allowed_layers, allowed_access_ids)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_cache_key\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _copy_path(path: Array) -> Array[Vector3i]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Vector3i] = _p23r311_original_copy_path(path)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_copy_path\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _guest_tree_cost(tree: Dictionary, cell: Vector3i) -> int:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: int = _p23r311_original_guest_tree_cost(tree, cell)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_tree_cost\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc _guest_batch_has_permitted_layer_crossing(start: Vector3i, goal: Vector3i, layers: Array[int], access: Array[StringName]) -> bool:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: bool = _p23r311_original_guest_batch_has_permitted_layer_crossing(start, goal, layers, access)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"_guest_batch_has_permitted_layer_crossing\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n",
"inverse_original_equal": true
},
"scripts/core/simulation_kernel.gd": {
"before": {
"bytes": 7602,
"sha256": "341c0c878c4894adbac628d0db6362ff69fc3347bdd9e61e50936e15dc2d1edb"
},
"after": {
"bytes": 8282,
"sha256": "5d578d7b845522388bd48a4a6e0c3a60e628498ec2da6aba722d8c6e2fc40a20"
},
"wrappers": [
{
"name": "_run_phase",
"renamed": "_p23r311_original_run_phase",
"signature": "func _run_phase(phase: TickPhase) -> void:\n",
"renamed_signature": "func _p23r311_original_run_phase(phase: TickPhase) -> void:\n",
"wrapper": "func _run_phase(phase: TickPhase) -> void:\n\tvar p23_started: int = Time.get_ticks_usec()\n\t_p23r311_original_run_phase(phase)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = str(phase)\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n"
}
],
"added_suffix": "\n# Private r311 diagnostic fields only; never serialized. Timings are nested/inclusive.\nvar _p23r311_metrics: Dictionary = {}\n\nfunc _run_phase(phase: TickPhase) -> void:\n\tvar p23_started: int = Time.get_ticks_usec()\n\t_p23r311_original_run_phase(phase)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = str(phase)\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\n",
"inverse_original_equal": true
},
"scripts/guest/guest_service.gd": {
"before": {
"bytes": 61414,
"sha256": "56880410e9a00816f9a95d30821982955532de8dd976980934e12016a9f2b21e"
},
"after": {
"bytes": 63573,
"sha256": "39986d98720d37dfd8c437b7043848df3b14120b307e99fef877428abd26b07d"
},
"wrappers": [
{
"name": "extract_candidates",
"renamed": "_p23r311_originalextract_candidates",
"signature": "func extract_candidates(\n\tguest_id: StringName,\n\tfacilities: Array,\n\tcontext: Dictionary = {}\n) -> Array[Dictionary]:\n",
"renamed_signature": "func _p23r311_originalextract_candidates(\n\tguest_id: StringName,\n\tfacilities: Array,\n\tcontext: Dictionary = {}\n) -> Array[Dictionary]:\n",
"wrapper": "func extract_candidates(\n\tguest_id: StringName,\n\tfacilities: Array,\n\tcontext: Dictionary = {}\n) -> Array[Dictionary]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Dictionary] = _p23r311_originalextract_candidates(guest_id, facilities, context)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"extract_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "rank_candidates",
"renamed": "_p23r311_originalrank_candidates",
"signature": "func rank_candidates(guest_id: StringName, candidates: Array) -> Array[Dictionary]:\n",
"renamed_signature": "func _p23r311_originalrank_candidates(guest_id: StringName, candidates: Array) -> Array[Dictionary]:\n",
"wrapper": "func rank_candidates(guest_id: StringName, candidates: Array) -> Array[Dictionary]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Dictionary] = _p23r311_originalrank_candidates(guest_id, candidates)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"rank_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
},
{
"name": "evaluate_candidate",
"renamed": "_p23r311_originalevaluate_candidate",
"signature": "func evaluate_candidate(guest_id: StringName, candidate: Dictionary) -> Dictionary:\n",
"renamed_signature": "func _p23r311_originalevaluate_candidate(guest_id: StringName, candidate: Dictionary) -> Dictionary:\n",
"wrapper": "func evaluate_candidate(guest_id: StringName, candidate: Dictionary) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_originalevaluate_candidate(guest_id, candidate)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"evaluate_candidate\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n"
}
],
"added_suffix": "\n# Private diagnostic only; never serialized.\nvar _p23r311_metrics: Dictionary = {}\n\nfunc extract_candidates(\n\tguest_id: StringName,\n\tfacilities: Array,\n\tcontext: Dictionary = {}\n) -> Array[Dictionary]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Dictionary] = _p23r311_originalextract_candidates(guest_id, facilities, context)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"extract_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc rank_candidates(guest_id: StringName, candidates: Array) -> Array[Dictionary]:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Array[Dictionary] = _p23r311_originalrank_candidates(guest_id, candidates)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"rank_candidates\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n\nfunc evaluate_candidate(guest_id: StringName, candidate: Dictionary) -> Dictionary:\n\tvar p23_started: int = Time.get_ticks_usec()\n\tvar p23_result: Dictionary = _p23r311_originalevaluate_candidate(guest_id, candidate)\n\tvar p23_elapsed: int = Time.get_ticks_usec() - p23_started\n\tvar p23_key: String = \"evaluate_candidate\"\n\tvar p23_row: Dictionary = _p23r311_metrics.get(p23_key, {\"calls\":0, \"inclusive_us\":0, \"max_us\":0})\n\tp23_row[\"calls\"] = int(p23_row[\"calls\"]) + 1\n\tp23_row[\"inclusive_us\"] = int(p23_row[\"inclusive_us\"]) + p23_elapsed\n\tp23_row[\"max_us\"] = maxi(int(p23_row[\"max_us\"]), p23_elapsed)\n\t_p23r311_metrics[p23_key] = p23_row\n\treturn p23_result\n",
"inverse_original_equal": true
}
},
"changed_stage_files": [
"autoload/simulation_runtime.gd",
"scripts/core/performance_budget.gd",
"scripts/core/simulation_kernel.gd",
"scripts/guest/guest_service.gd",
"scripts/world/path_service.gd"
],
"original_parent": "/Users/korizatou114/Projects/とりにく工房ゲーム制作部/artifacts/original-completion-2026-10-02/p23-02-native-reconstruction-local-r209/stage",
"budget_dependency": {
"path": "/Users/korizatou114/Projects/とりにく工房ゲーム制作部/artifacts/original-completion-2026-10-02/p23-02-native-walk-edges-candidate-r265-r03/performance_budget.candidate.gd",
"bytes": 11250,
"sha256": "1010129d3124c3aec037c840a5766a7cdabe60c654999dfb6f23b224140a73f8"
},
"no_pure_CPU_or_speed_comparison": true
}