Skip to main content

Module bench

Module bench 

Source
Expand description

Benchmarking utilities for distributed colony.

This module provides tools for measuring the performance of the distributed colony system, including document ingestion, tick execution, and query performance across multiple shards.

Structs§

BenchConfig
Configuration for benchmark runs.
BenchResults
Results from a benchmark run.

Functions§

compare_single_vs_distributed
Compare single-node vs distributed performance.
create_bench_cluster
Create a test cluster for benchmarking.
generate_documents
Generate sample documents for benchmarking.
print_scaling_results
Print scaling benchmark results as a table.
run_benchmark
Run the full benchmark suite.
run_quick_benchmark
Run a quick benchmark with minimal parameters.
scaling_benchmark
Run a scaling benchmark across different shard counts.