Skip to content

Commit 0e050f4

Browse files
committed
ci(bench): 主套件 readrandom 由 3 次改为 1 次
缩短 fill*/compact 套件耗时;同步 pages 说明文案。
1 parent a5bddf0 commit 0e050f4

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

‎.github/scripts/bench_dcompact_pages.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ def emit(args: argparse.Namespace) -> None:
995995
{rss_table}
996996
{rss_svg_section}
997997
<h2>Comparison: db_bench fillrandom suite (perf)</h2>
998-
<p class="meta">Benchmarks: fillrandom, flush, compact, readseq×3, readrandom×3. RocksDB uses default Snappy compression. compact row shows operations/seconds. RocksDB time / Topling*: {_hl('>1 = that Topling variant faster', 'faster')}. Values show ops/sec.</p>
998+
<p class="meta">Benchmarks: fillrandom, flush, compact, readseq×3, readrandom. RocksDB uses default Snappy compression. compact row shows operations/seconds. RocksDB time / Topling*: {_hl('>1 = that Topling variant faster', 'faster')}. Values show ops/sec.</p>
999999
{fr_compare}
10001000
<h2>Comparison: db_bench fillseq suite (perf)</h2>
10011001
<p class="meta">Same as fillrandom. Watch {_hl('compact / readseq / readrandom', 'slower')} cost for minDictZip=10 vs {_hl('space savings', 'faster')} above.</p>

‎.github/scripts/bench_logs_to_pages.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ def emit(args: argparse.Namespace) -> None:
13191319
{rss_table}
13201320
{rss_svg_section}
13211321
<h2>Comparison: db_bench fillrandom suite (perf)</h2>
1322-
<p class="meta">Benchmarks: fillrandom, flush, compact, readseq×3, readrandom×3. RocksDB uses default Snappy compression. compact row shows operations/seconds. RocksDB time / Topling*: {_hl('>1 = that Topling variant faster', 'faster')}. Values show ops/sec.</p>
1322+
<p class="meta">Benchmarks: fillrandom, flush, compact, readseq×3, readrandom. RocksDB uses default Snappy compression. compact row shows operations/seconds. RocksDB time / Topling*: {_hl('>1 = that Topling variant faster', 'faster')}. Values show ops/sec.</p>
13231323
{fr_compare}
13241324
<h2>Comparison: db_bench fillseq suite (perf)</h2>
13251325
<p class="meta">Same as fillrandom. Watch {_hl('compact / readseq / readrandom', 'slower')} cost for minDictZip=10 vs {_hl('space savings', 'faster')} above.</p>

‎.github/scripts/run_dcompact_bench.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ run_engine_suite() {
252252
-key_size=8
253253
-value_size=15
254254
-batch_size=1000
255-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
255+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
256256
-enable_zero_copy
257257
-progress_reports=false
258258
-report_bench_start_time
@@ -275,7 +275,7 @@ run_engine_suite() {
275275
-key_size=8
276276
-value_size=15
277277
-batch_size=1000
278-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
278+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
279279
-enable_zero_copy
280280
-progress_reports=false
281281
-report_bench_start_time

‎.github/scripts/run_rocksdb_cs_bench.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ run_suite() {
141141
-cache_size="$CACHE_SIZE"
142142
-write_buffer_size="$WRITE_BUFFER_SIZE"
143143
-compaction_spool_dir="$SPOOL_DIR"
144-
-benchmarks="${suite},flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom"
144+
-benchmarks="${suite},flush,compact,readseq,readseq,readseq,readrandom"
145145
-progress_reports=false -report_bench_start_time
146146
)
147147
echo "=== starting suite=${suite} NUM=${NUM} ==="

‎.github/workflows/db_bench-avx512-run.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
-key_size=8
138138
-value_size=15
139139
-batch_size=1000
140-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
140+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
141141
-enable_zero_copy
142142
-progress_reports=false
143143
)
@@ -172,7 +172,7 @@ jobs:
172172
-key_size=8
173173
-value_size=15
174174
-batch_size=1000
175-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
175+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
176176
-enable_zero_copy
177177
-progress_reports=false
178178
)
@@ -271,7 +271,7 @@ jobs:
271271
-value_size=15
272272
-batch_size=1000
273273
-cache_size="$ROCKSDB_CACHE_SIZE"
274-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
274+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
275275
-progress_reports=false
276276
)
277277
/usr/bin/time -f 'max_rss_kb=%M' -o "${LOGDIR}/time-fillrandom.txt" -- \
@@ -291,7 +291,7 @@ jobs:
291291
-value_size=15
292292
-batch_size=1000
293293
-cache_size="$ROCKSDB_CACHE_SIZE"
294-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
294+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
295295
-progress_reports=false
296296
)
297297
/usr/bin/time -f 'max_rss_kb=%M' -o "${LOGDIR}/time-fillseq.txt" -- \
@@ -356,7 +356,7 @@ jobs:
356356
-value_size=15
357357
-batch_size=1000
358358
-cache_size="$ROCKSDB_CACHE_SIZE"
359-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
359+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
360360
-progress_reports=false
361361
)
362362
/usr/bin/time -f 'max_rss_kb=%M' -o "${LOGDIR}/time-fillrandom.txt" -- \
@@ -375,7 +375,7 @@ jobs:
375375
-value_size=15
376376
-batch_size=1000
377377
-cache_size="$ROCKSDB_CACHE_SIZE"
378-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
378+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
379379
-progress_reports=false
380380
)
381381
/usr/bin/time -f 'max_rss_kb=%M' -o "${LOGDIR}/time-fillseq.txt" -- \

‎.github/workflows/db_bench-run.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
-key_size=8
146146
-value_size=15
147147
-batch_size=1000
148-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
148+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
149149
-enable_zero_copy
150150
-progress_reports=false
151151
-report_bench_start_time
@@ -184,7 +184,7 @@ jobs:
184184
-key_size=8
185185
-value_size=15
186186
-batch_size=1000
187-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
187+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
188188
-enable_zero_copy
189189
-progress_reports=false
190190
-report_bench_start_time
@@ -292,7 +292,7 @@ jobs:
292292
-value_size=15
293293
-batch_size=1000
294294
-cache_size="$ROCKSDB_CACHE_SIZE"
295-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
295+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
296296
-progress_reports=false
297297
-report_bench_start_time
298298
)
@@ -316,7 +316,7 @@ jobs:
316316
-value_size=15
317317
-batch_size=1000
318318
-cache_size="$ROCKSDB_CACHE_SIZE"
319-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
319+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
320320
-progress_reports=false
321321
-report_bench_start_time
322322
)
@@ -390,7 +390,7 @@ jobs:
390390
-value_size=15
391391
-batch_size=1000
392392
-cache_size="$ROCKSDB_CACHE_SIZE"
393-
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
393+
-benchmarks=fillrandom,flush,compact,readseq,readseq,readseq,readrandom
394394
-progress_reports=false
395395
-report_bench_start_time
396396
)
@@ -412,7 +412,7 @@ jobs:
412412
-value_size=15
413413
-batch_size=1000
414414
-cache_size="$ROCKSDB_CACHE_SIZE"
415-
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom,readrandom,readrandom
415+
-benchmarks=fillseq,flush,compact,readseq,readseq,readseq,readrandom
416416
-progress_reports=false
417417
-report_bench_start_time
418418
)

0 commit comments

Comments
 (0)