Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ment
  • Loading branch information
tfb committed Oct 29, 2013
2 parents 9226b5f + 10df3ee commit 771f8b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plain/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ def start(args):
subprocess.check_call("./sbt.bat assembly", shell=True, cwd="plain")
else:
subprocess.check_call("./sbt assembly", shell=True, cwd="plain")
subprocess.Popen("java -server -Xnoclassgc -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=384m -Xmx8g -Xss8m -Xmn4g -jar target/scala-2.10/plain-benchmark-assembly-1.0.1.jar", cwd="plain", shell=True)

subprocess.Popen("java -server -Xnoclassgc -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=384m -Xmx8g -Xss8m -Xmn4g -Xms6g -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -jar target/scala-2.10/plain-benchmark-assembly-1.0.1.jar", cwd="plain", shell=True)
time.sleep(10)
return 0

Expand Down
2 changes: 1 addition & 1 deletion plain/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ benchmark-mysql {
name = MysqlBenchmark
driver = mysql-5-6-12
datasource-settings {
setUrl = "jdbc:mysql://127.0.0.1:3306/hello_world"
setUrl = "jdbc:mysql://127.0.0.1:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&dontTrackOpenResources=true&enableQueryTimeouts=false&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=1024&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=true&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true&poolPreparedStatements=true&maxOpenPreparedStatements=100"
setUser = "benchmarkdbuser"
setPassword = "benchmarkdbpass"
}
Expand Down

0 comments on commit 771f8b5

Please sign in to comment.