use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class ReplicatedPutLongBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
before(config, new CreateReplicatedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);
before(config, new PrePopulateRegionLong(keyRange), CLIENT);
workload(config, new PutTask(keyRange), CLIENT);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class GcParametersTest method withZinJava8.
@Test
public void withZinJava8() {
System.setProperty(WITH_GC, "Z");
System.setProperty(JAVA_RUNTIME_VERSION, "1.8.0_212-b03");
final TestConfig testConfig = new TestConfig();
assertThatThrownBy(() -> GcParameters.configure(testConfig)).isInstanceOf(IllegalArgumentException.class);
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class HeapParametersTest method with16g.
@Test
public void with16g() {
System.setProperty(WITH_HEAP, "16g");
final TestConfig testConfig = new TestConfig();
HeapParameters.configure(testConfig);
assertHeap(testConfig, "16g");
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class PartitionedGetBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);
before(config, new PrePopulateRegion(keyRange), CLIENT);
workload(config, new GetTask(keyRange), CLIENT);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class PartitionedIndexedQueryBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
config.threads(Runtime.getRuntime().availableProcessors() * 8);
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);
before(config, new CreateIndexOnID(), SERVER);
before(config, new PrePopulateRegion(keyRange), CLIENT);
workload(config, new OQLQuery(keyRange, queryRange), CLIENT);
return config;
}
Aggregations