This commit refactors the configuration of the benchmarking function, moving the setup code into a new config.rs file. The main focus of this commit is to streamline the configuration of benchmarks, making it easier to adjust settings for different benchmarks. It introduces a new BenchTxConfig struct for defining the benchmark configuration and uses it to replace the previous use of environment variables. This commit also modifies various files to match the new configuration method.
Summary
This commit refactors the configuration of the benchmarking function, moving the setup code into a new
config.rs
file. The main focus of this commit is to streamline the configuration of benchmarks, making it easier to adjust settings for different benchmarks. It introduces a newBenchTxConfig
struct for defining the benchmark configuration and uses it to replace the previous use of environment variables. This commit also modifies various files to match the new configuration method.