github.com/square/finch@v0.0.0-20240412205204-6530c03e2b96/benchmarks/sysbench/_all.yaml (about) 1 # https://square.github.io/finch/benchmark/examples/#sysbench 2 3 # This base config, _all.yaml, applies to all stages in the same directory. 4 # It allows only the following 3 config sections: 5 6 # __ 01 _____________________________________________________________________ 7 # 8 # MySQL usually applies to all stages because there's usually only 1 MySQL instance. 9 # But it could differ if, for example, a setup stage inserts rows on a writable 10 # source, and then benchmarks are run on a read-only replica. 11 # 12 # For consistency with other Finch example benchmarks, though, let's leave this 13 # commented out and use the default Finch MySQL username and password. 14 #mysql: 15 # dsn: "root@tcp(127.0.0.1:3306)/sbtest" 16 17 # __ 02 _____________________________________________________________________ 18 # 19 # Params usually apply to all stages to keep key settings in sync across stages 20 # and trx (SQL) files, like number of tables and rows. Each param is referenced 21 # like $params.rows or "${params.rows}". (YAML requires quotes around {}.) 22 params: 23 rows: "10,000" # You can use human-readable numbers like this or "10k" 24 25 # __ 03 _____________________________________________________________________ 26 # 27 # Stats don't normally apply to all stages, but it's show here for demonstration. 28 # A stage can override this to turn off stats by setting stage.stats.disable=true, 29 # as shown in setup.yaml. 30 stats: 31 freq: 5s