public
Last active

  • Download Gist
gistfile1.java
Java
1 2 3 4 5 6 7 8 9 10 11 12 13
time = System.currentTimeMillis();
oldMakeTable(table, numRows, numCols);
System.out.println(String.format("Ingested in %.2g seconds", (System.currentTimeMillis() - time)/1000.0));
time = System.currentTimeMillis();
oldScanTable(table, numRows, numCols);
System.out.println(String.format("Scanned in %.2g seconds", (System.currentTimeMillis() - time)/1000.0));
 
time = System.currentTimeMillis();
newMakeTable(table, numRows, numCols, segmentSize);
System.out.println(String.format("Ingested in %.2g seconds", (System.currentTimeMillis() - time)/1000.0));
time = System.currentTimeMillis();
newScanTable(table, numRows, numCols, segmentSize);
System.out.println(String.format("Scanned in %.2g seconds", (System.currentTimeMillis() - time)/1000.0));

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.