log(ROCKET, "End of timing.");
logBenchmark(ROCKET, SERIALIZATION, iterations, start, end);
}
protected void performRocketDeserializationTimings(final int iterations) {
final SerializationFactory factory = this.getSerializationFactory();
Object reconstituted = null;
log(ROCKET, "Starting of timing.");
final String stream = this.getRocketStream();
final long start = System.currentTimeMillis();
for (int i = 0; i < iterations; i++) {
final ObjectInputStream objectInputStream = factory.createObjectInputStream(stream);
reconstituted = objectInputStream.readObject();
}
final long end = System.currentTimeMillis();
log(ROCKET, "End of timing.");