Skip to content

Commit 08d4943

Browse files
committed
Update PerformanceTest.java
1 parent f7b82bd commit 08d4943

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/test/java/io/codebottle/api/test/PerformanceTest.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,14 @@
1010
import static java.lang.System.currentTimeMillis;
1111

1212
public class PerformanceTest {
13-
private CodeBottle codeBottle;
14-
15-
@Before
16-
public void setUp() {
17-
this.codeBottle = new CodeBottle();
18-
}
19-
2013
@Test
2114
public void requestEverything() {
2215
long start, end;
2316

2417
System.out.printf("Started requesting everything at %d epoch\n", start = currentTimeMillis());
18+
19+
final CodeBottle codeBottle = new CodeBottle();
2520

26-
codeBottle.requestLanguages().join();
27-
codeBottle.requestCategories().join();
2821
codeBottle.requestSnippets().join()
2922
.stream()
3023
.map(Snippet::requestRevisions)

0 commit comments

Comments
 (0)