forked from ScottOaks/JavaPerformanceTuning
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
29 lines (24 loc) · 1.12 KB
/
README
File metadata and controls
29 lines (24 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
To build:
Building this requires the Faban driver kit downloaded from
http://faban.org
You must set the following environment variable:
FABAN_DRIVER=/path_to/fabandriver.jar
To run:
Edit the run.xml file and change the
outputDir -- Where you want the output saved
HOST -- server where the service is deployed
POST -- port where the service is deployed
In the operationMix, set the test you want to execute to 1
and set all other tests to 0 (or, alternately, set those values
to execute a mix of operations)
Set your clsaspath to incude fabancommon.jar, fabandriver.jar, and
jars/driver.jar
java -Dbenchmark.config=run.xml com.sun.faban.driver.engine.MasterImpl
The output directory will have a set of numbered directories (starting at
1, increasing monotonically for each run). The summary.xml file in each
directory will have the repsonse times and so on.
Example 10-14 and 10-15:
The various scenarios are chosen by setting the operationMix as described
above.
The caching in scenario 15 is enabled by setting the CACHE property
to true in the run.xml file.