Skip to content

Rename the 'wp8' benchmarks to 'utxo' benchmarks #777

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ executable using `--flag=+serialblockio`.
> build.

Installing `rocksdb` is entirely optional, and only required if one wants to
build or run the `rocksdb-bench-wp8` comparison macro-benchmark.
build or run the `utxo-rocksdb-bench` comparison macro-benchmark.

* Ubuntu:
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ mkTracer gopts

globalOptsP :: O.Parser GlobalOpts
globalOptsP = pure GlobalOpts
<*> O.option O.str (O.long "bench-dir" <> O.value "_bench_wp8" <> O.showDefault <> O.help "Benchmark directory to put files in")
<*> O.option O.str (O.long "bench-dir" <> O.value "_bench_utxo" <> O.showDefault <> O.help "Benchmark directory to put files in")
<*> O.option O.auto (O.long "initial-size" <> O.value 100_000_000 <> O.showDefault <> O.help "Initial LSM tree size")
<*> O.option O.auto (O.long "disk-cache-policy" <> O.value LSM.DiskCacheAll <> O.showDefault <> O.help "Disk cache policy [DiskCacheAll | DiskCacheLevelOneTo Int | DiskCacheNone]")
<*> O.flag False True (O.long "trace" <> O.help "Enable trace messages (disabled by default)")
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions lsm-tree.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -1032,11 +1032,11 @@ common measure-batch-latency
if flag(measure-batch-latency)
cpp-options: -DMEASURE_BATCH_LATENCY

benchmark lsm-tree-bench-wp8
benchmark utxo-bench
import: language, warnings, wno-x-partial, measure-batch-latency
type: exitcode-stdio-1.0
hs-source-dirs: bench/macro
main-is: lsm-tree-bench-wp8.hs
main-is: utxo-bench.hs
build-depends:
, async
, base <5
Expand Down Expand Up @@ -1064,11 +1064,11 @@ flag rocksdb
default: True
manual: False

benchmark rocksdb-bench-wp8
benchmark utxo-rocksdb-bench
import: language, warnings, wno-x-partial
type: exitcode-stdio-1.0
hs-source-dirs: bench/macro
main-is: rocksdb-bench-wp8.hs
main-is: utxo-rocksdb-bench.hs

if !(os(linux) && flag(rocksdb))
buildable: False
Expand Down