mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Disabled benchmark tests to exclude in battery
Signed-off-by: leriomaggio <valeriomaggio@gmail.com>
This commit is contained in:
@@ -23,7 +23,7 @@ public class CardDbPerformanceTests extends CardDbTestCase {
|
|||||||
this.fullDbCardNames.add(card.getName());
|
this.fullDbCardNames.add(card.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test(enabled = false) // disabled to not run in battery
|
||||||
public void testBenchmarkFullDbGetCardLegacyImplementation() {
|
public void testBenchmarkFullDbGetCardLegacyImplementation() {
|
||||||
int nRuns = 100;
|
int nRuns = 100;
|
||||||
long averageTime = 0;
|
long averageTime = 0;
|
||||||
@@ -48,7 +48,7 @@ public class CardDbPerformanceTests extends CardDbTestCase {
|
|||||||
System.out.println("[LEGACY] Worst Time (in sec): " + ((double) maxTime)/ 1000);
|
System.out.println("[LEGACY] Worst Time (in sec): " + ((double) maxTime)/ 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test(enabled = false) // disabled to not run in battery
|
||||||
public void testBenchmarkFullDbGetCardNewDbImplementation() {
|
public void testBenchmarkFullDbGetCardNewDbImplementation() {
|
||||||
int nRuns = 100;
|
int nRuns = 100;
|
||||||
long averageTime = 0;
|
long averageTime = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user