v2/benchmark/docs/quick-start.md
Get started with swarm benchmarking in 5 minutes!
# Install the benchmark tool
cd benchmark/
pip install -e .
Run a simple benchmark with default settings:
swarm-benchmark run "Build a user authentication system"
Choose a specific strategy for your task:
swarm-benchmark run "Research cloud providers" --strategy research
Test different coordination patterns:
swarm-benchmark run "Develop microservices" --mode distributed
Check your benchmark results:
# List recent benchmarks
swarm-benchmark list
# Show specific benchmark details
swarm-benchmark show <benchmark-id>
After running a benchmark, you'll see:
ā
Benchmark completed successfully!
š Results saved to: ./reports
The JSON output includes:
swarm-benchmark run "Create REST API with authentication" \
--strategy development \
--mode hierarchical \
--max-agents 6
swarm-benchmark run "Analyze market trends" \
--strategy research \
--mode distributed \
--parallel
swarm-benchmark run "Optimize database performance" \
--strategy optimization \
--mode hybrid \
--monitor
--parallel for faster execution with multiple agents--monitor to see real-time progress-v flag for verbose output./reports/ for detailed JSON resultsswarm-benchmark --help for command help