forked from radargun/radargun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More replacements of cachebench with radargun
- Loading branch information
1 parent
f704234
commit 0f800b0
Showing
91 changed files
with
291 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
package org.cachebench; | ||
package org.radargun; | ||
|
||
|
||
/** | ||
* CacheWrappers wrap cacheing products tp provide the cachebench framework with a standard way of | ||
* CacheWrappers wrap caching products tp provide RadarGun with a standard way of | ||
* accessing and manipulating a cache. | ||
* | ||
* @author Manik Surtani ([email protected]) | ||
* @version $Id: CacheWrapper.java,v 1.5 2007/05/17 08:13:45 msurtani Exp $ | ||
*/ | ||
public interface CacheWrapper | ||
{ | ||
/** | ||
* Initialises the cache. Typically this step will configure the | ||
* cacheing product with various params passed in, described in | ||
* cachebench.xml for a particular cacheing product, which is | ||
* benchmark.xml for a particular cacheing product, which is | ||
* usually the name or path to a config file specific to the | ||
* cacheing product being tested. | ||
* | ||
|
@@ -33,7 +32,7 @@ public interface CacheWrapper | |
* as a black box, and is what is timed, so it should be implemented in the most efficient (or most | ||
* realistic) way possible. | ||
* | ||
* @param bucket a bucket is a group of keys. Some implementations might ignore the bucket (e.g. {@link org.cachebench.cachewrappers.InfinispanWrapper}} | ||
* @param bucket a bucket is a group of keys. Some implementations might ignore the bucket (e.g. {@link org.radargun.cachewrappers.InfinispanWrapper}} | ||
* so in order to avoid key collisions, one should make sure that the keys are unique even between different buckets. | ||
* @param key | ||
* @param value | ||
|
@@ -46,7 +45,7 @@ public interface CacheWrapper | |
Object get(String bucket, Object key) throws Exception; | ||
|
||
/** | ||
* This is called after each test type (if emptyCacheBetweenTests is set to true in cachebench.xml) and is | ||
* This is called after each test type (if emptyCacheBetweenTests is set to true in benchmark.xml) and is | ||
* used to flush the cache. | ||
*/ | ||
void empty() throws Exception; | ||
|
2 changes: 1 addition & 1 deletion
2
.../org/cachebench/CacheWrapperStressor.java → ...va/org/radargun/CacheWrapperStressor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.cachebench; | ||
package org.radargun; | ||
|
||
import java.util.Map; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ain/java/org/cachebench/DistStageAck.java → .../main/java/org/radargun/DistStageAck.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.cachebench; | ||
package org.radargun; | ||
|
||
import java.io.Serializable; | ||
|
||
|
6 changes: 3 additions & 3 deletions
6
...ain/java/org/cachebench/LaunchMaster.java → .../main/java/org/radargun/LaunchMaster.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.../src/main/java/org/cachebench/Master.java → ...rk/src/main/java/org/radargun/Master.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...main/java/org/cachebench/MasterStage.java → ...c/main/java/org/radargun/MasterStage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...a/org/cachebench/SerializationHelper.java → ...ava/org/radargun/SerializationHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ain/java/org/cachebench/ShutDownHook.java → .../main/java/org/radargun/ShutDownHook.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...k/src/main/java/org/cachebench/Slave.java → ...ork/src/main/java/org/radargun/Slave.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...k/src/main/java/org/cachebench/Stage.java → ...ork/src/main/java/org/radargun/Stage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...src/main/java/org/cachebench/Version.java → ...k/src/main/java/org/radargun/Version.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package org.cachebench; | ||
package org.radargun; | ||
|
||
public class Version { | ||
private static final String ver = "1.1.0-SNAPSHOT"; | ||
public static void main(String[] args) { | ||
System.out.println("=== CacheBenchFwk ==="); | ||
System.out.println(" version: " + ver); | ||
System.out.println("=== RadarGun ==="); | ||
System.out.println(""); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...a/org/cachebench/config/ConfigHelper.java → ...ava/org/radargun/config/ConfigHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...rg/cachebench/config/DomConfigParser.java → .../org/radargun/config/DomConfigParser.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package org.cachebench.config; | ||
package org.radargun.config; | ||
|
||
import org.apache.commons.logging.Log; | ||
import org.apache.commons.logging.LogFactory; | ||
import org.cachebench.DistStage; | ||
import org.cachebench.Stage; | ||
import org.cachebench.utils.Utils; | ||
import org.radargun.DistStage; | ||
import org.radargun.Stage; | ||
import org.radargun.utils.Utils; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
@@ -14,7 +14,7 @@ | |
* such a benchmark. | ||
* | ||
* @author [email protected] | ||
* @see org.cachebench.config.ScalingBenchmarkConfig | ||
* @see org.radargun.config.ScalingBenchmarkConfig | ||
*/ | ||
public class FixedSizeBenchmarkConfig implements Cloneable { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...a/org/cachebench/config/MasterConfig.java → ...ava/org/radargun/config/MasterConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package org.cachebench.config; | ||
package org.radargun.config; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
6 changes: 3 additions & 3 deletions
6
...ebench/config/ScalingBenchmarkConfig.java → ...dargun/config/ScalingBenchmarkConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
package org.cachebench.config; | ||
package org.radargun.config; | ||
|
||
import org.apache.commons.logging.Log; | ||
import org.apache.commons.logging.LogFactory; | ||
|
||
|
||
import org.cachebench.Stage; | ||
import org.radargun.Stage; | ||
|
||
import java.util.List; | ||
import java.util.ArrayList; | ||
|
||
/** | ||
* A scaling benchmark is one that executes on an increasing number of slaves. E.g. consdering the {@link | ||
* org.cachebench.stages.WebSessionBenchmarkStage}, one might want to execute it over multiple clusteres of | ||
* org.radargun.stages.WebSessionBenchmarkStage}, one might want to execute it over multiple clusteres of | ||
* different sizes: e.g 2,3,4,5..10 etc in order to check how a product scales etc. | ||
* | ||
* @author [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.