test: add native tcp performance baseline

This commit is contained in:
2026-09-21 02:14:52 +08:00
parent 05b4088a25
commit c36bb70f96
5 changed files with 108 additions and 1 deletions

View File

@@ -23,6 +23,11 @@ def main():
"-benchmem", "-count", str(args.count), "./transport"],
"transport benchmarks",
),
(
[args.go, "test", "-run", "^$", "-bench", "^BenchmarkNative",
"-benchmem", "-count", str(args.count), "./transport/native"],
"native TCP benchmarks",
),
]
for command, name in checks:
print(f"Running {name}", flush=True)