From f1117099021c357a1f9128ba8e22ef06591a46e2 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 25 Aug 2026 01:41:31 +0200 Subject: [PATCH] Updated througput benchmarker --- tests/throughput.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/throughput.py b/tests/throughput.py index b5a3bb92..ea5189d7 100644 --- a/tests/throughput.py +++ b/tests/throughput.py @@ -608,7 +608,7 @@ def _fmt_pps(value): def print_environment_header(): - tree_fastpath = "present" if hasattr(RNS.Transport, "_fastpath") else "absent" + tree_fastpath = "present" if hasattr(RNS.Transport, "USE_FP_CACHE") else "absent" print("=" * 40) print("Reticulum Transport Throughput Benchmark") print("=" * 40) @@ -616,7 +616,7 @@ def print_environment_header(): print(f" Mode : {'compiled' if RNS.compiled else 'interpreted'}") print(f" crypto : {RNS.Cryptography.backend()}") print(f" transport : enabled") - print(f" fast path : {tree_fastpath} (informational)") + print(f" fast path : {tree_fastpath}") print(f" python : {platform.python_version()}") print(f" platform : {platform.platform()}") print(f" machine : {platform.machine()}, cpus: {os.cpu_count()}") @@ -840,7 +840,7 @@ def _usage(): "\nUsage: python3 tests/transport_throughput.py [options]\n" "\n" "Options:\n" - " -s, --scenario NAME Run only the named scenario (repeatable)\n" + " -s, --scenario NAME Run only the named scenario\n" " --mode MODE Measurement mode: inline, drainer or both\n" " (default: both)\n" " --runs N Measurement runs per scenario/mode, median\n"