Repository navigation
Commit b282aa4
Rename BENCH_RESTARTABLE -> BENCH_DURABLE; reload non-durable between cold tries
Semantic shift: the old flag conflated "does this system have a daemon
to restart" with "does the data survive a restart". The new BENCH_DURABLE
asks the second question directly, and the driver acts on it:
BENCH_DURABLE=yes (default) — data is on disk (daemons like clickhouse,
or CLI tools like duckdb operating on a
.db file). Cold cycle is the existing
stop -> wait_stopped -> drop_caches ->
start -> check. Each ./query then runs
3 times: first cold, two warm.
BENCH_DURABLE=no — data lives in process memory (in-process
servers: pandas, polars, duckdb-dataframe,
duckdb-memory, chdb-dataframe, daft-*,
sirius). The restart wipes it, so after
the start+check we re-run ./load and
roll its wall-clock into the first
("cold") try. The recorded cold timing
is now load+query, which is the honest
cost of "fresh-start engine + first
query" instead of "warm query against a
freshly-loaded RAM dataset".
Migrations:
* All 108 benchmark.sh shims renamed BENCH_RESTARTABLE -> BENCH_DURABLE.
* 9 in-process server shims set DURABLE=no (chdb-dataframe, daft-parquet,
daft-parquet-partitioned, duckdb-dataframe, duckdb-memory, pandas,
polars, polars-dataframe, sirius).
* Previously RESTARTABLE=no CLI systems (duckdb, sqlite, datafusion,
hyper, octosql, opteryx, etc.) become DURABLE=yes — they're stateless
per-process so the cold cycle is essentially drop_caches + a no-op
stop/start.
* 6 in-process load scripts (chdb-dataframe, duckdb-dataframe,
duckdb-memory, pandas, polars-dataframe, sirius) used to rm
hits.parquet right after the first load — drop that, since
bench_run_query now needs the source file to reload after each
restart. Moved the cleanup into bench_main (DURABLE=no branch only).
* Back-compat: BENCH_RESTARTABLE is still read as an alias if BENCH_DURABLE
isn't set, so stale env/scripts keep working for one cycle.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c7b6c4e commit b282aa4
116 files changed
Lines changed: 174 additions & 139 deletions
File tree
- arc
- byconity
- hdfs
- cedardb-parquet
- cedardb
- chdb-dataframe
- chdb-parquet-partitioned
- chdb
- chyt
- citus
- clickhouse-datalake-partitioned
- clickhouse-datalake
- clickhouse-parquet-partitioned
- clickhouse-parquet
- clickhouse-tencent
- clickhouse-web
- clickhouse
- cloudberry
- cockroachdb
- cratedb
- daft-parquet-partitioned
- daft-parquet
- databend
- datafusion-partitioned
- datafusion-vortex-partitioned
- datafusion-vortex
- datafusion
- doris-parquet
- doris
- drill
- druid
- duckdb-dataframe
- duckdb-datalake-partitioned
- duckdb-datalake
- duckdb-memory
- duckdb-parquet-partitioned
- duckdb-parquet
- duckdb-vortex-partitioned
- duckdb-vortex
- duckdb
- elasticsearch
- gizmosql
- glaredb-partitioned
- glaredb
- greenplum
- heavyai
- hyper-parquet
- hyper
- infobright
- kinetica
- lib
- mariadb-columnstore
- mariadb
- monetdb
- mongodb
- mysql-myisam
- mysql
- octosql
- opteryx
- oxla
- pandas
- paradedb-partitioned
- paradedb
- parseable
- pg_clickhouse
- pg_duckdb-indexed
- pg_duckdb-motherduck
- pg_duckdb-parquet
- pg_duckdb
- pg_ducklake
- pg_mooncake
- pgpro_tam
- pinot
- polars-dataframe
- polars
- postgresql-indexed
- postgresql-orioledb
- postgresql
- presto-datalake-partitioned
- presto-datalake
- presto-partitioned
- presto
- questdb
- quickwit
- sail-partitioned
- sail
- siglens
- sirius
- spark-auron
- spark-comet
- spark-gluten
- spark-velox
- spark
- sqlite
- starrocks
- tidb
- timescaledb-no-columnstore
- timescaledb
- trino-datalake-partitioned
- trino-datalake
- trino-partitioned
- trino
- turso
- umbra
- ursa
- velodb
- vertica
- victorialogs
- ydb
- yugabytedb
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
0 commit comments