{
  "repo": "pingcap/tidb-bench",
  "binary": "sql-bench",
  "binary_path": "sql-bench/main.go",
  "surface_kind": "cli_tool",
  "type": "cli_tool",
  "services": [
    {
      "name": "SQLBenchCLI",
      "package": "sql-bench/main",
      "methods": [
        {
          "name": "run",
          "name_key": "CLI sql-bench",
          "input": "Flags for TiDB address, database credentials, SQL file path, concurrency, execution count, and reporting interval",
          "output": "Executes benchmark SQL statements against the target TiDB instance and prints latency/QPS summaries"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "sql-bench is a benchmark runner that opens a MySQL connection pool and concurrently executes statements from a SQL data file."
    ]
  }
}
