fn with_size<S>(strategy: S, num_accounts: usize, num_transactions: usize) -> Self
    where
        S: Strategy,
        S::Value: AUTransactionGen,
    {
        Self {
            bench_state: TransactionBenchState::with_universe(
                strategy,
                universe_strategy(num_accounts, num_transactions),
                num_transactions,
            ),
            infer_results: analyze(current_modules().iter())
                .unwrap()
                .normalize_all_scripts(add_on_functions_list()),
        }
    }
/// Creates a new benchmark state with the given number of accounts and transactions.
Creates a new benchmark state with the given number of accounts and transactions.
Creates a new benchmark state with the given number of accounts and transactions .
fn with_size<S>(strategy: S, num_accounts: usize, num_transactions: usize) -> Self
    where
        S: Strategy,
        S::Value: AUTransactionGen,
    {
        Self {
            bench_state: TransactionBenchState::with_universe(
                strategy,
                universe_strategy(num_accounts, num_transactions),
                num_transactions,
            ),
            infer_results: analyze(current_modules().iter())
                .unwrap()
                .normalize_all_scripts(add_on_functions_list()),
        }
    }
fn with_size < S > ( strategy : S , num_accounts : usize , num_transactions : usize ) -> Self where S : Strategy , S :: Value : AUTransactionGen , { Self { bench_state : TransactionBenchState :: with_universe ( strategy , universe_strategy ( num_accounts , num_transactions ) , num_transactions , ) , infer_results : analyze ( current_modules ( ) . iter ( ) ) . unwrap ( ) . normalize_all_scripts ( add_on_functions_list ( ) ) , } }
Creates a new benchmark state with the given number of accounts and transactions.
Creates a new benchmark state with the given number of accounts and transactions .
strategy
S
num_accounts
usize
num_transactions
usize
strategy
S
num_accounts
usize
num_transactions
usize