From 5725ee0efab6436e4d051bdf05fda5e7d3054399 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 17 Oct 2026 05:13:10 +0200 Subject: [PATCH] Give the shared-JSON profiler its own name Every PR of the startup batch adds a different tools/profile_client_startup.py, so any two of them conflict. This one becomes tools/profile_shared_json.py; its guide and tools/profile_gameplay_decode.py follow. Co-Authored-By: Claude Opus 5.5 --- tools/PROFILE_SHARED_JSON.md | 4 ++-- tools/profile_gameplay_decode.py | 2 +- tools/{profile_client_startup.py => profile_shared_json.py} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename tools/{profile_client_startup.py => profile_shared_json.py} (100%) diff --git a/tools/PROFILE_SHARED_JSON.md b/tools/PROFILE_SHARED_JSON.md index 7712dda32..976e43ecb 100644 --- a/tools/PROFILE_SHARED_JSON.md +++ b/tools/PROFILE_SHARED_JSON.md @@ -38,7 +38,7 @@ done cargo build --offline --release -p horizon-client --example shared_json_startup_profile cp "$CARGO_TARGET_DIR/release/examples/shared_json_startup_profile" "$BENCH_ROOT/bin/current" -python3 tools/profile_client_startup.py \ +python3 tools/profile_shared_json.py \ --resources /absolute/path/to/.local/horizon-client/26.3 \ --baseline-binary "$BENCH_ROOT/bin/baseline" \ --a01-binary "$BENCH_ROOT/bin/a01" \ @@ -66,7 +66,7 @@ python3 tools/profile_gameplay_decode.py \ --resources /absolute/path/to/.local/horizon-client/26.3 \ --repeats 10 --output "$BENCH_ROOT/decode.json" -python3 tools/profile_client_startup.py \ +python3 tools/profile_shared_json.py \ --resources /absolute/path/to/.local/horizon-client/26.3 \ --variant released="$BENCH_ROOT/bin/current"@deferred \ --variant retained="$BENCH_ROOT/bin/current"@deferred-held \ diff --git a/tools/profile_gameplay_decode.py b/tools/profile_gameplay_decode.py index 06e2ff5fb..71015e090 100644 --- a/tools/profile_gameplay_decode.py +++ b/tools/profile_gameplay_decode.py @@ -11,7 +11,7 @@ import json import os import statistics from pathlib import Path -from profile_client_startup import percentile, run +from profile_shared_json import percentile, run def main(): diff --git a/tools/profile_client_startup.py b/tools/profile_shared_json.py similarity index 100% rename from tools/profile_client_startup.py rename to tools/profile_shared_json.py