Skip to content

Commit f4538c5

Browse files
author
diego Dupin
committed
[misc] benchmark description improvement
1 parent a2f2523 commit f4538c5

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

src/benchmark/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,23 @@ How to run :
1111
mvn clean package -P bench -DskipTests
1212
1313
# run all benchmarks
14-
java -Duser.country=US -Duser.language=en -jar target/benchmarks.jar
14+
nohup java -Duser.country=US -Duser.language=en -jar target/benchmarks.jar > log.txt
1515
1616
# run a specific benchmark
1717
java -Duser.country=US -Duser.language=en -jar target/benchmarks.jar "Select_100_cols"
1818
```
1919

2020
Configuration by system properties :
21-
* TEST_HOST: localhost
22-
* TEST_PORT: 3306
23-
* TEST_USERNAME: root
24-
* TEST_PASSWORD: ""
25-
* TEST_DATABASE: "testj"
21+
* TEST_HOST: Hostname. default "localhost"
22+
* TEST_PORT: port. default 3306
23+
* TEST_USERNAME: user name. default "root"
24+
* TEST_PASSWORD: password. default ""
25+
* TEST_DATABASE: database. default "testj"
26+
* TEST_OTHER: permit adding connection string options. default ""
2627

2728
example:
2829
```script
2930
mvn clean package -P bench -Dmaven.test.skip
30-
java -DTEST_PORT=3307 -Duser.country=US -Duser.language=en -jar target/benchmarks.jar "Select_1_user"
31+
java -DTEST_PORT=3307 -Duser.country=US -Duser.language=en -jar target/benchmarks.jar "Select_100_cols"
3132
```
3233

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
~ Copyright 2020 MariaDB Ab.
4-
~
5-
~ Licensed under the Apache License, Version 2.0 (the "License");
6-
~ you may not use this file except in compliance with the License.
7-
~ You may obtain a copy of the License at
8-
~
9-
~ http://www.apache.org/licenses/LICENSE-2.0
10-
~
11-
~ Unless required by applicable law or agreed to in writing, software
12-
~ distributed under the License is distributed on an "AS IS" BASIS,
13-
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
~ See the License for the specific language governing permissions and
15-
~ limitations under the License.
16-
-->
17-
182
<configuration>
193

204
<appender class="ch.qos.logback.core.ConsoleAppender" name="STDOUT">
@@ -30,4 +14,4 @@
3014
<appender-ref ref="STDOUT"/>
3115
</root>
3216

33-
</configuration>
17+
</configuration>

0 commit comments

Comments
 (0)