Skip to content

Instantly share code, notes, and snippets.

@motorina0
Last active January 12, 2017 09:18
Show Gist options
  • Save motorina0/f0d661c419ebc7e7d2d710fd391c3948 to your computer and use it in GitHub Desktop.
Save motorina0/f0d661c419ebc7e7d2d710fd391c3948 to your computer and use it in GitHub Desktop.
public <T> T execute(CommandConfig config, Command<T> command) {
//...
long start = System.currentTimeMillis();
T result = next.execute(config, command);
long end = System.currentTimeMillis();
long totalTime = end - start;
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment