Skip to content

Commit 50ab4bc

Browse files
committed
Refactor and add some tests
1 parent 104a262 commit 50ab4bc

32 files changed

Lines changed: 2587 additions & 1413 deletions

Cargo.lock

Lines changed: 9 additions & 582 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ hwloc = "0.5.0"
1212
indicatif = "0.17.11"
1313
libc = "0.2"
1414
log = "0.4.26"
15-
object_store = { version = "0.11.2", features = ["aws"] }
15+
# object_store = { version = "0.11.2", features = ["aws"] }
1616
rand = "0.9.0"
1717
reqwest = { version = "0.12.14", default-features = false, features = ["blocking", "rustls-tls"] }
1818
serde = { version = "1.0.219", features = ["derive"] }
1919
serde_json = "1.0.138"
2020
serde_yaml = "0.9.34"
21-
serial_test = "3.2.0"
2221
shellexpand = "3.1.0"
2322
sysinfo = "0.33.1"
24-
tempfile = "3.17.1"
25-
thiserror = "2.0.11"
23+
tempfile = "3.10.1"
2624
url = "2.5.4"

benchmark.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ global:
3232

3333
# Path to source code (required).
3434
# Can point to a local or online fork of bitcoin/bitcoin.
35-
# source: $HOME/src/core/bitcoin
36-
source: https://github.com/bitcoin/bitcoin
35+
source: $HOME/src/core/bitcoin
36+
# source: https://github.com/bitcoin/bitcoin
3737

3838
# The directory binaries will be built into
3939
scratch: $HOME/.local/state/benchkit/scratch
@@ -74,18 +74,18 @@ benchmarks:
7474
# A list of values to substitute in.
7575
values: ["450", "32000"]
7676

77-
- name: "signet no assumeutxo"
78-
network: signet
79-
connect: 127.0.0.1:39333
80-
scripts:
81-
# Use a custom prepare script which does not do assumeutxo syncing
82-
# for a full IBD benchmark to stopheight
83-
prepare: ./scripts/prepare-noassumeutxo.sh
84-
benchmark:
85-
command: "bitcoind -dbcache={dbcache} -stopatheight=170000"
86-
profile_interval: 1
87-
warmup: 0
88-
runs: 1
89-
parameter_lists:
90-
- var: dbcache
91-
values: ["32000"]
77+
# - name: "signet no assumeutxo"
78+
# network: signet
79+
# connect: 127.0.0.1:39333
80+
# scripts:
81+
# # Use a custom prepare script which does not do assumeutxo syncing
82+
# # for a full IBD benchmark to stopheight
83+
# prepare: ./scripts/prepare-noassumeutxo.sh
84+
# benchmark:
85+
# command: "bitcoind -dbcache={dbcache} -stopatheight=170000"
86+
# profile_interval: 1
87+
# warmup: 0
88+
# runs: 1
89+
# parameter_lists:
90+
# - var: dbcache
91+
# values: ["32000"]

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
hwloc
4343
libevent
4444
rust-bin.stable.latest.default
45+
# rust-bin.nightly.latest.default
4546
sqlite
4647
stress
4748
];

0 commit comments

Comments
 (0)