move scatter plot creation into an AggregateHandler
This commit is contained in:
@@ -16,7 +16,8 @@ public class CsvToEntryTransformerPerformanceTest {
|
||||
|
||||
private static final byte NEWLINE = '\n';
|
||||
|
||||
public static void main(final String[] args) throws Exception {
|
||||
@SuppressWarnings("unused")
|
||||
public static void main(final String[] args) throws Exception {
|
||||
// final Path csvFile =
|
||||
// Paths.get("/home/andi/ws/performanceDb/data/production/1k.csv");
|
||||
final Path csvFile = Paths.get("/home/andi/ws/performanceDb/data/production/logs_2018-09-05_2018-09-05.csv");
|
||||
@@ -40,7 +41,8 @@ public class CsvToEntryTransformerPerformanceTest {
|
||||
// System.out.println("summary: " + summaryStatisticsPut);
|
||||
}
|
||||
|
||||
private static void runtest(final Path csvFile) throws IOException, FileNotFoundException {
|
||||
@SuppressWarnings("unused")
|
||||
private static void runtest(final Path csvFile) throws IOException, FileNotFoundException {
|
||||
final byte newline = NEWLINE;
|
||||
|
||||
byte[] line = new byte[4096]; // max line length
|
||||
@@ -92,7 +94,8 @@ public class CsvToEntryTransformerPerformanceTest {
|
||||
|
||||
private static void handleLine(final byte[] line, final int bytesInLine) {
|
||||
|
||||
final String x = new String(line, 0, bytesInLine, StandardCharsets.UTF_8);
|
||||
@SuppressWarnings("unused")
|
||||
final String x = new String(line, 0, bytesInLine, StandardCharsets.UTF_8);
|
||||
// System.out.println(">" + x + "<");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user