forked from odenny/hydra
-
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.
- Loading branch information
Showing
8 changed files
with
31 additions
and
30 deletions.
There are no files selected for viewing
Binary file not shown.
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
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: 3 additions & 7 deletions
10
modules/hydra-test/hydra-test-integration/src/main/resources/benchmark.properties
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,11 +1,7 @@ | ||
|
||
########## ########### | ||
classname=com.jd.bdp.hydra.benchmark.demo.DemoRunnable | ||
serverip=192.168.227.83 | ||
serverport=20990 | ||
concurrents=10 | ||
concurrents=20 | ||
connectionnums=1 | ||
#超时 | ||
timeout=3000 | ||
#测试轮数 | ||
runtime=50 | ||
timeout=1000 | ||
runtime=600 |
6 changes: 6 additions & 0 deletions
6
modules/hydra-test/hydra-test-integration/src/main/resources/scripts/windows/env-bench.bat
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
cd /D %~dp0/../ | ||
SETLOCAL enabledelayedexpansion | ||
for %%f in (%cd%\conf\*.*) do ( | ||
set CLASSPATH=!CLASSPATH!;%%f | ||
) | ||
echo %CLASSPATH% |
4 changes: 2 additions & 2 deletions
4
...s/hydra-test/hydra-test-integration/src/main/resources/scripts/windows/startBenchTest.bat
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,7 +1,7 @@ | ||
cd /D %~dp0 | ||
CALL env.bat | ||
CALL env-bench.bat | ||
echo "BenchmarkClient is starting..." | ||
java -Xms512m -Xmx512m -Xmn128m -XX:+PrintGCDetails -Xloggc:log/Benchmark-gc.log -Dwrite.statistics=true -Ddubbo.properties.file="conf/dubbo.properties" -Djava.ext.dirs="conf;lib" "com.jd.bdp.hydra.benchmark.startBenchTest.StartBenchmark" > "log/Benchmark.log" | ||
java -Xms512m -Xmx512m -Xmn128m -XX:+PrintGCDetails -Xloggc:log/Benchmark-gc.log -Dwrite.statistics=true -Ddubbo.properties.file="conf/dubbo.properties" -Dbenchmark.properties.file=conf/benchmark.properties -Djava.ext.dirs="conf;lib" "com.jd.bdp.hydra.benchmark.startBenchTest.StartBenchmark" > "log/Benchmark.log" | ||
cd .. | ||
echo "BenchmarkClient start scheckule is ok,you can check the log file in /log" | ||
PAUSE |