use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class ReplicatedFunctionExecutionWithFiltersBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = super.configure();
config.threads(Runtime.getRuntime().availableProcessors() * 10);
workload(config, new ExecuteFilteredFunction(getKeyRange()), CLIENT);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class ReplicatedGetBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
before(config, new CreateReplicatedRegion(), 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 ReplicatedIndexedQueryBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
config.threads(Runtime.getRuntime().availableProcessors() * 8);
before(config, new CreateReplicatedRegion(), 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;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class ReplicatedNonIndexedQueryBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
config.threads(Runtime.getRuntime().availableProcessors());
before(config, new CreateReplicatedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);
before(config, new PrePopulateRegion(keyRange), CLIENT);
workload(config, new OQLQuery(keyRange, queryRange), CLIENT);
return config;
}
use of org.apache.geode.perftest.TestConfig in project geode-benchmarks by apache.
the class ReplicatedPutAllLongBenchmark method configure.
@Override
public TestConfig configure() {
TestConfig config = ClientServerBenchmark.createConfig();
config.threads(Runtime.getRuntime().availableProcessors() * 2);
before(config, new CreateReplicatedRegion(), SERVER);
before(config, new CreateClientProxyRegion(), CLIENT);
before(config, new PrePopulateRegionLong(keyRange), CLIENT);
workload(config, new PutAllTask(keyRange, batchSize), CLIENT);
return config;
}
Aggregations