Skip to content

Commit 89170eb

Browse files
authored
Merge pull request #777 from IntersectMBO/jdral/rename-wp8-benchmarks
Rename the 'wp8' benchmarks to 'utxo' benchmarks
2 parents 4f0fcc3 + d0ee505 commit 89170eb

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ executable using `--flag=+serialblockio`.
2525
> build.
2626
2727
Installing `rocksdb` is entirely optional, and only required if one wants to
28-
build or run the `rocksdb-bench-wp8` comparison macro-benchmark.
28+
build or run the `utxo-rocksdb-bench` comparison macro-benchmark.
2929

3030
* Ubuntu:
3131
```

bench/macro/lsm-tree-bench-wp8.hs renamed to bench/macro/utxo-bench.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ mkTracer gopts
226226

227227
globalOptsP :: O.Parser GlobalOpts
228228
globalOptsP = pure GlobalOpts
229-
<*> O.option O.str (O.long "bench-dir" <> O.value "_bench_wp8" <> O.showDefault <> O.help "Benchmark directory to put files in")
229+
<*> O.option O.str (O.long "bench-dir" <> O.value "_bench_utxo" <> O.showDefault <> O.help "Benchmark directory to put files in")
230230
<*> O.option O.auto (O.long "initial-size" <> O.value 100_000_000 <> O.showDefault <> O.help "Initial LSM tree size")
231231
<*> O.option O.auto (O.long "disk-cache-policy" <> O.value LSM.DiskCacheAll <> O.showDefault <> O.help "Disk cache policy [DiskCacheAll | DiskCacheLevelOneTo Int | DiskCacheNone]")
232232
<*> O.flag False True (O.long "trace" <> O.help "Enable trace messages (disabled by default)")
File renamed without changes.

lsm-tree.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,11 +1032,11 @@ common measure-batch-latency
10321032
if flag(measure-batch-latency)
10331033
cpp-options: -DMEASURE_BATCH_LATENCY
10341034

1035-
benchmark lsm-tree-bench-wp8
1035+
benchmark utxo-bench
10361036
import: language, warnings, wno-x-partial, measure-batch-latency
10371037
type: exitcode-stdio-1.0
10381038
hs-source-dirs: bench/macro
1039-
main-is: lsm-tree-bench-wp8.hs
1039+
main-is: utxo-bench.hs
10401040
build-depends:
10411041
, async
10421042
, base <5
@@ -1064,11 +1064,11 @@ flag rocksdb
10641064
default: True
10651065
manual: False
10661066

1067-
benchmark rocksdb-bench-wp8
1067+
benchmark utxo-rocksdb-bench
10681068
import: language, warnings, wno-x-partial
10691069
type: exitcode-stdio-1.0
10701070
hs-source-dirs: bench/macro
1071-
main-is: rocksdb-bench-wp8.hs
1071+
main-is: utxo-rocksdb-bench.hs
10721072

10731073
if !(os(linux) && flag(rocksdb))
10741074
buildable: False

0 commit comments

Comments
 (0)