ignore benchmark

This commit is contained in:
fjy 2014-11-20 16:52:19 -08:00
parent bdd2e1aeed
commit ef62bccdec
1 changed files with 8 additions and 6 deletions

View File

@ -29,6 +29,7 @@ import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@ -42,7 +43,8 @@ import java.util.Random;
/**
*
*/
//@RunWith(Parameterized.class)
@Ignore
@RunWith(Parameterized.class)
public class BitmapCreationBenchmark extends AbstractBenchmark
{
private static final Logger log = new Logger(BitmapCreationBenchmark.class);
@ -121,7 +123,7 @@ public class BitmapCreationBenchmark extends AbstractBenchmark
@BenchmarkOptions(warmupRounds = 10, benchmarkRounds = 1000)
//@Test
@Test
public void testLinearAddition()
{
MutableBitmap mutableBitmap = factory.makeEmptyMutableBitmap();
@ -132,7 +134,7 @@ public class BitmapCreationBenchmark extends AbstractBenchmark
}
@BenchmarkOptions(warmupRounds = 10, benchmarkRounds = 10)
//@Test
@Test
public void testRandomAddition()
{
MutableBitmap mutableBitmap = factory.makeEmptyMutableBitmap();
@ -143,7 +145,7 @@ public class BitmapCreationBenchmark extends AbstractBenchmark
}
@BenchmarkOptions(warmupRounds = 10, benchmarkRounds = 1000)
//@Test
@Test
public void testLinearAdditionDescending()
{
MutableBitmap mutableBitmap = factory.makeEmptyMutableBitmap();
@ -155,7 +157,7 @@ public class BitmapCreationBenchmark extends AbstractBenchmark
@BenchmarkOptions(warmupRounds = 10, benchmarkRounds = 1000)
//@Test
@Test
public void testToImmutableByteArray()
{
ImmutableBitmap immutableBitmap = factory.makeImmutableBitmap(baseMutableBitmap);
@ -164,7 +166,7 @@ public class BitmapCreationBenchmark extends AbstractBenchmark
@BenchmarkOptions(warmupRounds = 10, benchmarkRounds = 1000)
//@Test
@Test
public void testFromImmutableByteArray()
{
ImmutableBitmap immutableBitmap = factory.mapImmutableBitmap(baseByteBuffer);