use of org.apache.ignite.internal.benchmarks.model.IntValue in project ignite by apache.
the class JmhWaitStategyBenchmark method put.
/**
* Test PUT operation.
*
* @throws Exception If failed.
*/
@Benchmark
public void put() throws Exception {
int key = ThreadLocalRandom.current().nextInt(CNT);
cache.put(key, new IntValue(key));
}
use of org.apache.ignite.internal.benchmarks.model.IntValue in project ignite by apache.
the class JmhCacheBenchmark method put.
/**
* Test PUT operation.
*
* @throws Exception If failed.
*/
@Benchmark
public void put() throws Exception {
int key = ThreadLocalRandom.current().nextInt(CNT);
cache.put(key, new IntValue(key));
}
Aggregations