MCPcopy Create free account
hub / github.com/erans/pgsqlite / main

Function main

benchmarks/benchmark_array_binary.py:329–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327 print(f"\n{Fore.GREEN}✅ Array binary protocol benchmarking complete!{Style.RESET_ALL}")
328
329def 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
343if __name__ == "__main__":
344 main()

Callers 1

Calls 2

run_benchmarksMethod · 0.95

Tested by

no test coverage detected