mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 11:06:11 -10:00
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 <[email protected]>
This commit is contained in:
1 parent
2a593ea64f
commit
5725ee0efa
3 files changed
+3
-3
No files matched your search
@@ -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 \
|
||||
|
||||
@@ -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():
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user