Skip to content

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:

CommandPurposeDocumentation
runExecute benchmarks with full configuration controlrun
convertConvert data to Parquet, Vortex, Delta Lake, or Icebergconvert
shellLaunch interactive SQL shell for databaseshell
platformsManage database platform adaptersplatforms
check-depsCheck dependency status and installation guidanceutilities
profileProfile system resourcesutilities
benchmarksManage benchmark suitesutilities
validateValidate configuration filesutilities
tuning initGenerate sample tuning configurationstuning
tuning (DataFrame)DataFrame tuning via unified tuning commandstuning
exportExport benchmark results to various formatsresults
submitPackage results for PR contribution or hosted API uploadsubmit
authManage hosted submission credentialsauth
resultsDisplay exported benchmark resultsresults
compareCompare benchmark results for regression detectionresults
visualizeGenerate ASCII charts from benchmark resultsvisualize
reportHistorical analysis, rankings, and regressionsreport
metricsCalculate TPC Power@Size and Throughput@Sizemetrics
aggregateAggregate results into CSV performance trendsaggregate
datagenGenerate benchmark data without running queriesdatagen
setupInteractive cloud platform credential setupsetup
show-planDisplay query plan as ASCII treequery-plans
plan-historyShow query plan evolution across runsquery-plans
download-answersPre-download TPC answer files for validationdownload-answers

Quick Start

--help-topic all shows all options including advanced ones, and --help-topic examples shows categorized usage examples.

Terminal window
benchbox run --platform duckdb --benchmark tpch --scale 0.01
benchbox run --help
benchbox run --help-topic all
benchbox run --help-topic examples

Documentation Sections

CLI Commands