for (int t = 0; t < 4; t++) {
time = time();
for (int i = 0; i < numVertices; i++) {
TitanVertexQuery q = ((TitanVertexQuery) vertices[i].query()).direction(Direction.OUT).labels("connect");
if (inMemory) { //TODO: this has been disabled
for (Vertex v : q.vertices()) {
v.getId();
}
} else {
VertexList vl = q.vertexIds();
for (int j = 0; j < vl.size(); j++) {