BenchBox CLI Reference¶
This section provides comprehensive documentation for all BenchBox command-line interface (CLI) commands and options.
Global Options¶
These options are available for all BenchBox commands:
--version: Show version information and exit--help: Show help message and exit
Commands Overview¶
BenchBox provides the following commands:
Command |
Purpose |
Documentation |
|---|---|---|
|
Execute benchmarks with full configuration control |
|
|
Convert data to Parquet, Vortex, Delta Lake, or Iceberg |
|
|
Launch interactive SQL shell for database |
|
|
Manage database platform adapters |
|
|
Check dependency status and installation guidance |
|
|
Profile system resources |
|
|
Manage benchmark suites |
|
|
Validate configuration files |
|
|
Generate sample tuning configurations |
|
|
DataFrame tuning via unified tuning commands |
|
|
Export benchmark results to various formats |
|
|
Display exported benchmark results |
|
|
Compare benchmark results for regression detection |
|
|
Generate ASCII charts from benchmark results |
|
|
Historical analysis, rankings, and regressions |
|
|
Calculate TPC performance metrics (QphH) |
|
|
Aggregate results into CSV performance trends |
|
|
Generate benchmark data without running queries |
|
|
Interactive cloud platform credential setup |
|
|
Display query plan as ASCII tree |
|
|
Show query plan evolution across runs |
|
|
Pre-download TPC answer files for validation |
Quick Start¶
# Run a simple TPC-H benchmark on DuckDB
benchbox run --platform duckdb --benchmark tpch --scale 0.01
# Get help for any command
benchbox run --help
benchbox run --help-topic all # All options including advanced
benchbox run --help-topic examples # Categorized usage examples
Documentation Sections¶
CLI Commands
run- Run Benchmarksconvert- Convert Data Formatsshell- Interactive SQL Shellplatforms- Platform Management- Utility Commands
- Tuning Commands
- Results Commands
visualize- Generate Chartsreport- Historical Analysismetrics- Performance Metricsaggregate- Aggregate Resultsdatagen- Data Generationsetup- Cloud Credentialsshow-plan/plan-history- Query Plansdownload-answers- Answer Files- Configuration
- Common Workflows
- Troubleshooting