Skip to content

Commit

Permalink
Remove nanoTime
Browse files Browse the repository at this point in the history
  • Loading branch information
tsande16 committed Oct 9, 2023
1 parent 2f9f701 commit 23ac54b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public void shouldFindNihGrantAwardNumber() throws IOException {
*/
@Test
public void shouldFindNonNormalizedNihGrantAwardNumber() throws IOException, URISyntaxException {
long startTime = System.nanoTime();
URI testAwardNumberUri = Objects.requireNonNull(NihmsPassClientServiceTest.class
.getResource("/valid_award_numbers.csv")).toURI();
List<String> awardNumbers = Files.readAllLines(Paths.get(testAwardNumberUri));
Expand All @@ -209,9 +208,6 @@ public void shouldFindNonNormalizedNihGrantAwardNumber() throws IOException, URI
assertEquals(award, found.getAwardNumber());
assertEquals(grant.getId(), found.getId());
}
long endTime = System.nanoTime();
double elapsedTimeInMS = (endTime - startTime) / 1_000_000.0;
System.out.println("Elapsed Time: " + elapsedTimeInMS + " ms");
}

/**
Expand Down

0 comments on commit 23ac54b

Please sign in to comment.