use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class NoopBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
workload(config, new NoopTask(), CLIENT);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class P2pBenchmark method createConfig.
public static TestConfig createConfig() {
TestConfig config = GeodeBenchmark.createConfig();
P2pTopology.configure(config);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class P2pPartitionedGetBenchmark method configure.
@Override
public TestConfig configure() {
final TestConfig config = P2pBenchmark.createConfig();
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new PrePopulateRegion(keyRange, SERVER), SERVER);
workload(config, new GetTask(keyRange), SERVER);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class P2pPartitionedPutBytesBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = P2pBenchmark.createConfig();
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new PrePopulateRegionBytes(keyRange, SERVER), SERVER);
workload(config, new PutBytesTask(keyRange), SERVER);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class P2pPartitionedPutLongBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = P2pBenchmark.createConfig();
before(config, new CreatePartitionedRegion(), SERVER);
before(config, new PrePopulateRegionLong(keyRange, SERVER), SERVER);
workload(config, new PutLongTask(keyRange), SERVER);
return config;
}
Aggregations