Created
June 14, 2016 11:02
-
-
Save Jotschi/bf1f50d0ee27cda1bbb71bdef38cc115 to your computer and use it in GitHub Desktop.
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
| @Test | |
| public void testCreatePerformance() { | |
| // Warmup the system caches etc | |
| warmup(); | |
| // Start the stopwatch | |
| mark(); | |
| // Invoke the create node action 1000 times | |
| for(int i = 0; i < 1000; i++) { | |
| createNode(); | |
| } | |
| // Stop the stopwatch and assert the duration | |
| assertDuration(5000); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment