()
| 327 | print(f"\n{Fore.GREEN}✅ Array binary protocol benchmarking complete!{Style.RESET_ALL}") |
| 328 | |
| 329 | def main(): |
| 330 | import argparse |
| 331 | |
| 332 | parser = argparse.ArgumentParser(description="Benchmark array operations with binary protocol") |
| 333 | parser.add_argument("--iterations", "-i", type=int, default=100, |
| 334 | help="Number of iterations for each test") |
| 335 | parser.add_argument("--port", "-p", type=int, default=15500, |
| 336 | help="pgsqlite server port") |
| 337 | |
| 338 | args = parser.parse_args() |
| 339 | |
| 340 | runner = ArrayBenchmarkRunner(iterations=args.iterations, port=args.port) |
| 341 | runner.run_benchmarks() |
| 342 | |
| 343 | if __name__ == "__main__": |
| 344 | main() |
no test coverage detected