Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.