Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Commit

Permalink
removed redundant duration form log output
Browse files Browse the repository at this point in the history
  • Loading branch information
fasseg committed Dec 5, 2013
1 parent 6b4f509 commit cc02e50
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/org/fcrepo/bench/FCRepoBenchRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ private void logResults(long overall, long runtime) {
size * numBinaries * 1000f / (1024f * 1024f * duration);

/* now the bench is finished and the result will be printed out */
LOG.info("Completed {} {} action(s) executed in {} ms",
new Object[] {this.numBinaries, action,
(long)((float) duration / (float) numThreads)});
LOG.info("Completed {} {} action(s)",
new Object[] {this.numBinaries, action});
LOG.info("Runtime excluding the threading overhead was {} ms",

This comment has been minimized.

Copy link
@sprater

sprater Dec 5, 2013

Contributor

Make more explicit what the time number is: ""Runtime excluding the threading overhead was an average of {} ms per thread"

(long) ((float) duration / (float) numThreads));
LOG.info("Runtime including the threading overhead was {} ms", runtime);
Expand Down

0 comments on commit cc02e50

Please sign in to comment.