in S3HtsjdkPlugin/src/main/java/com/epam/cmbi/s3/PerformanceMonitor.java [88:103]
static void printSummary() {
long curTimeMillis = System.currentTimeMillis();
double elapsedMinutes = (((double) curTimeMillis - startTime) / MILLISEC_IN_SEC) / SECS_IN_MINUTE;
double averageSpeed = dataLoaded.doubleValue() /
((curTimeMillis - startTime) / MILLISEC_IN_SEC) / KILO / KILO;
log.info(requestCounter.longValue()
+ " GetRequests made, "
+ dataLoaded.longValue()
+ " bytes downloaded. Average speed: "
+ new DecimalFormat("#0.00").format(averageSpeed)
+ " MB/s. Time Elapsed: "
+ new DecimalFormat("#0.00").format(elapsedMinutes) + " minutes"
);
}