Development changes. #1
|
@ -29,7 +29,7 @@ java {
|
||||||
}
|
}
|
||||||
|
|
||||||
application {
|
application {
|
||||||
mainClass = 'biz.nellemann.memstress.Application'
|
mainClass = 'biz.nellemann.jmemperf.Application'
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('test') {
|
tasks.named('test') {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
projectId = memstress
|
projectId = jmemperf
|
||||||
projectGroup = biz.nellemann.memstress
|
projectGroup = biz.nellemann.jmemperf
|
||||||
projectVersion = 0.0.1
|
projectVersion = 0.0.1
|
||||||
|
|
|
@ -12,4 +12,4 @@ plugins {
|
||||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0'
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = 'memstress'
|
rootProject.name = 'jmemperf'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package biz.nellemann.memstress;
|
package biz.nellemann.jmemperf;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
@ -7,7 +7,7 @@ import picocli.CommandLine;
|
||||||
import java.time.Duration;
|
import java.time.Duration;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
@CommandLine.Command(name = "memstress", mixinStandardHelpOptions = true, versionProvider = VersionProvider.class, description = "Memory performance measurement tool.")
|
@CommandLine.Command(name = "jmemperf", mixinStandardHelpOptions = true, versionProvider = VersionProvider.class, description = "Memory performance measurement tool.")
|
||||||
public class Application implements Callable<Integer> {
|
public class Application implements Callable<Integer> {
|
||||||
|
|
||||||
final Logger log = LoggerFactory.getLogger(Application.class);
|
final Logger log = LoggerFactory.getLogger(Application.class);
|
|
@ -1,8 +1,8 @@
|
||||||
package biz.nellemann.memstress;
|
package biz.nellemann.jmemperf;
|
||||||
|
|
||||||
import biz.nellemann.memstress.db.Database;
|
import biz.nellemann.jmemperf.db.Database;
|
||||||
import biz.nellemann.memstress.db.DatabaseManager;
|
import biz.nellemann.jmemperf.db.DatabaseManager;
|
||||||
import biz.nellemann.memstress.db.Table;
|
import biz.nellemann.jmemperf.db.Table;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package biz.nellemann.memstress;
|
package biz.nellemann.jmemperf;
|
||||||
|
|
||||||
|
|
||||||
import picocli.CommandLine;
|
import picocli.CommandLine;
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.memstress.db;
|
package biz.nellemann.jmemperf.db;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.memstress.db;
|
package biz.nellemann.jmemperf.db;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.memstress.db;
|
package biz.nellemann.jmemperf.db;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.memstress.db;
|
package biz.nellemann.jmemperf.db;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
|
@ -3,7 +3,7 @@
|
||||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||||
<withJansi>false</withJansi>
|
<withJansi>false</withJansi>
|
||||||
<encoder>
|
<encoder>
|
||||||
<pattern>%cyan(%d{yyyy-MM-dd HH:mm:ss.SSS}) %gray([%-10thread]) %highlight(%-5level) %magenta(%logger{12}) - %msg%n</pattern>
|
<pattern>%cyan(%d{yyyy-MM-dd HH:mm:ss.SSS}) - %msg%n</pattern>
|
||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This Spock specification was generated by the Gradle 'init' task.
|
* This Spock specification was generated by the Gradle 'init' task.
|
||||||
*/
|
*/
|
||||||
package biz.nellemann.memstress
|
package biz.nellemann.jmemperf
|
||||||
|
|
||||||
import spock.lang.Specification
|
import spock.lang.Specification
|
||||||
|
|
Loading…
Reference in a new issue