* [BAEL-4849] Article code * [BAEL-4968] Article code * [BAEL-4968] Article code * [BAEL-4968] Article code * [BAEL-4968] Remove extra comments * [BAEL-5258] Article Code * [BAEL-2765] PKCE Support for Secret Clients * [BAEL-5698] Article code * [BAEL-5698] Article code
19 lines
511 B
Java
19 lines
511 B
Java
package com.baeldung.benchmark;
|
|
|
|
import java.util.Arrays;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
|
class ConnectionPerChannelPublisherLiveTest {
|
|
|
|
@Test
|
|
void whenConnectionPerChannel_thenRunBenchmark() throws Exception {
|
|
// host, workerCount, iterations, payloadSize
|
|
Arrays.asList(1,5,10,20,50,100,150).stream()
|
|
.forEach(workers -> {
|
|
ConnectionPerChannelPublisher.main(new String[]{"192.168.99.100", Integer.toString(workers), "1000", "4096"});
|
|
});
|
|
}
|
|
|
|
}
|