Skip to content

Commit

Permalink
bet
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Dec 24, 2024
1 parent fcb4e45 commit 1e4e9c5
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion crates/engine/tree/benches/channel_perf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#![allow(missing_docs)]

use criterion::{criterion_group, criterion_main, BatchSize, BenchmarkId, Criterion};
use proptest::test_runner::{TestRng, TestRunner};
use proptest::test_runner::TestRunner;
use rand::Rng;
use revm_primitives::{
Account, AccountInfo, AccountStatus, Address, EvmState, EvmStorage, EvmStorageSlot, HashMap,
Expand Down
3 changes: 1 addition & 2 deletions crates/engine/tree/benches/state_root_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
#![allow(missing_docs)]

use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};
use proptest::test_runner::{TestRng, TestRunner};
use rand::SeedableRng;
use proptest::test_runner::TestRunner;
use reth_engine_tree::tree::root::{StateRootConfig, StateRootTask};
use reth_evm::system_calls::OnStateHook;
use reth_primitives::{Account as RethAccount, StorageEntry};
Expand Down
1 change: 0 additions & 1 deletion crates/net/network/benches/broadcast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use alloy_primitives::{
use criterion::*;
use futures::StreamExt;
use pprof::criterion::{Output, PProfProfiler};
use rand::thread_rng;
use reth_network::{test_utils::Testnet, NetworkEventListenerProvider};
use reth_network_api::Peers;
use reth_provider::test_utils::{ExtendedAccount, MockEthProvider};
Expand Down
2 changes: 1 addition & 1 deletion crates/stages/stages/benches/setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use reth_stages::{
test_utils::{StorageKind, TestStageDB},
};
use reth_testing_utils::generators::{
self, random_block_range, random_changeset_range, random_contract_account_range,
random_block_range, random_changeset_range, random_contract_account_range,
random_eoa_accounts, BlockRangeParams,
};
use reth_trie::StateRoot;
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/db/benches/hash_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use criterion::{
use pprof::criterion::{Output, PProfProfiler};
use proptest::{
arbitrary::Arbitrary,
prelude::{any_with, ProptestConfig},
prelude::{any_with},
strategy::{Strategy, ValueTree},
test_runner::{Config, RngAlgorithm, TestRng, TestRunner},
};
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/db/benches/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::{path::Path, sync::Arc};

/// Path where the DB is initialized for benchmarks.
#[allow(dead_code)]
pub const BENCH_DB_PATH: &str = "/tmp/reth-benches";
pub(crate) const BENCH_DB_PATH: &str = "/tmp/reth-benches";

/// Used for `RandomRead` and `RandomWrite` benchmarks.
#[allow(dead_code)]
Expand Down

0 comments on commit 1e4e9c5

Please sign in to comment.