Skip to content

Comments

chore(bench): clean MDBX & RocksDB setups with OnceLock#42

Open
hai-rise wants to merge 1 commit intoLayerZero-Labs:mainfrom
risechain:clean-bench
Open

chore(bench): clean MDBX & RocksDB setups with OnceLock#42
hai-rise wants to merge 1 commit intoLayerZero-Labs:mainfrom
risechain:clean-bench

Conversation

@hai-rise
Copy link

Removed unnecessary &mut requirements that led to the unsafe static muts, use OnceLock to further simplify the code without breaking the current benchmarking interface.

Expectation: cargo run --bin speed --features use_mdbx and cargo run --bin speed --features use_rocksdb should still work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant