Last active
October 18, 2018 19:17
-
-
Save luiszimmermann/c9948678230a719a2e1d0b029a37e611 to your computer and use it in GitHub Desktop.
grails stopwatch example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.grails.core.util.StopWatch | |
| class IntercomManager { | |
| public void test() { | |
| StopWatch stopWatch = new StopWatch("teste") | |
| stopWatch.start("teste") | |
| //CODE | |
| stopWatch.stop() | |
| println stopWatch.shortSummary() | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment