/// The configuration that is used for the dual workload test.
/// In this configuration, all sizes are set to 2MiB.
The configuration that is used for the dual workload test.
In this configuration, all sizes are set to 2MiB.
The configuration that is used for the dual workload test . In this configuration all sizes are set to 2MiB .
pub fn dual_workload_config() -> InternetComputer {
    InternetComputer::new()
        .add_subnet(
            Subnet::new(SubnetType::System)
                .add_nodes(1)
                .with_max_block_payload_size(DW_MAX_SIZE as u64)
                .with_max_ingress_message_size(DW_MAX_SIZE as u64),
        )
        .add_subnet(Subnet::new(SubnetType::Application).add_nodes(1))
}
pub fn dual_workload_config ( ) -> InternetComputer { InternetComputer :: new ( ) . add_subnet ( Subnet :: new ( SubnetType :: System ) . add_nodes ( 1 ) . with_max_block_payload_size ( DW_MAX_SIZE as u64 ) . with_max_ingress_message_size ( DW_MAX_SIZE as u64 ) , ) . add_subnet ( Subnet :: new ( SubnetType :: Application ) . add_nodes ( 1 ) ) }
The configuration that is used for the dual workload test.
The configuration that is used for the dual workload test .