Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sboikov committed Jan 23, 2015
1 parent a15d4af commit 7031f09
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Expand Up @@ -30,7 +30,7 @@
* Use {@code modules/core/src/test/config/benchmark/spring-cache-client-benchmark-*.xml}
* configurations for servers.
*/
public class GridClientCacheBenchmark {
public class ClientCacheBenchmark {
/** Number of keys, used in PUT/GET operations. */
private static final int KEY_COUNT = 1000;

Expand Down Expand Up @@ -62,7 +62,7 @@ public class GridClientCacheBenchmark {
* @param threadCnt Number of submitting threads.
* @param iterationCnt Number of operations per thread.
*/
public GridClientCacheBenchmark(int threadCnt, int iterationCnt) {
public ClientCacheBenchmark(int threadCnt, int iterationCnt) {
this.threadCnt = threadCnt;
this.iterationCnt = iterationCnt;

Expand Down Expand Up @@ -207,15 +207,15 @@ public static void main(String[] args) throws GridClientException, IgniteChecked

if (args.length == 0) {
for (int i = 1; i <= 16; i *= 2) {
GridClientCacheBenchmark benchmark = new GridClientCacheBenchmark(i, 10000);
ClientCacheBenchmark benchmark = new ClientCacheBenchmark(i, 10000);

benchmark.run(false);

System.gc();
}

for (int i = 1; i <= 64; i *= 2) {
GridClientCacheBenchmark benchmark = new GridClientCacheBenchmark(i, 10000);
ClientCacheBenchmark benchmark = new ClientCacheBenchmark(i, 10000);

benchmark.run(true);

Expand All @@ -226,10 +226,10 @@ public static void main(String[] args) throws GridClientException, IgniteChecked
int nThreads = Integer.parseInt(args[0]);
String outputFileName = (args.length >= 2 ? args[1] : null);

GridClientCacheBenchmark benchmark = null;
ClientCacheBenchmark benchmark = null;

for (int i = 0; i < 2; i++) {
benchmark = new GridClientCacheBenchmark(nThreads, 10000);
benchmark = new ClientCacheBenchmark(nThreads, 10000);

benchmark.run(true);
}
Expand Down
Expand Up @@ -33,13 +33,13 @@
/**
* Tests basic performance of marshallers.
*/
public class GridClientMarshallerBenchmarkTest extends GridCommonAbstractTest {
public class ClientMarshallerBenchmarkTest extends GridCommonAbstractTest {
/** Marshallers to test. */
private GridClientMarshaller[] marshallers;

/**
*/
public GridClientMarshallerBenchmarkTest() {
public ClientMarshallerBenchmarkTest() {
marshallers = new GridClientMarshaller[] {
new GridClientJdkMarshaller(),
new GridClientOptimizedMarshaller()
Expand Down
Expand Up @@ -23,7 +23,7 @@
/**
* Makes a long run to ensure stability and absence of memory leaks.
*/
public class GridClientTcpSslLoadTest extends GridClientTcpSslMultiThreadedSelfTest {
public class ClientTcpSslLoadTest extends GridClientTcpSslMultiThreadedSelfTest {
/** Test duration. */
private static final long TEST_RUN_TIME = 8 * 60 * 60 * 1000;

Expand Down

0 comments on commit 7031f09

Please sign in to comment.