public class OpenBytesPerformanceTest extends Object
openBytes()
performance tests.Modifier and Type | Field and Description |
---|---|
private boolean |
bigImage |
private int |
bottomHalfSize |
private int |
bottomLeftQuarterSize |
private int |
bottomRightQuarterSize |
private int |
bpp |
private String |
filename |
private String |
id |
private int |
imageCount |
private static org.slf4j.Logger |
LOGGER |
private boolean |
memMap |
private int |
optimalTileHeight |
private int |
optimalTileWidth |
private int |
planeSize |
private IFormatReader |
reader |
private int |
seriesCount |
private int |
sizeC |
private int |
sizeT |
private int |
sizeX |
private int |
sizeY |
private int |
sizeZ |
private int |
topHalfSize |
private int |
topLeftQuarterSize |
private int |
topRightQuarterSize |
Constructor and Description |
---|
OpenBytesPerformanceTest() |
Modifier and Type | Method and Description |
---|---|
private void |
assertBlock(int blockSize,
int posX,
int posY,
int width,
int height) |
private void |
assertRows(int blockSize) |
private void |
assertSeries(int series) |
void |
init(String id,
String inMemory) |
boolean |
isNotBigImage() |
void |
setId() |
void |
tearDown() |
void |
testOpenBytesAllTilesNewBuffer() |
void |
testOpenBytesAllTilesPreAllocatedBuffer() |
void |
testOpenBytesBlocksByRow1MB() |
void |
testOpenBytesBlocksByRow512KB() |
void |
testOpenBytesBlocksByRowPlaneSize() |
void |
testOpenBytesHalfPlane() |
void |
testOpenBytesPlane() |
void |
testQuartersActualSize() |
void |
testQuartersTwiceActualSize() |
private static final org.slf4j.Logger LOGGER
private String id
private IFormatReader reader
private int imageCount
private int seriesCount
private int sizeX
private int sizeY
private int sizeZ
private int sizeC
private int sizeT
private int bpp
private int topHalfSize
private int bottomHalfSize
private int topLeftQuarterSize
private int topRightQuarterSize
private int bottomLeftQuarterSize
private int bottomRightQuarterSize
private int optimalTileHeight
private int optimalTileWidth
private int planeSize
private String filename
private boolean memMap
private boolean bigImage
private void assertBlock(int blockSize, int posX, int posY, int width, int height) throws Exception
Exception
private void assertSeries(int series)
public boolean isNotBigImage()
public void testOpenBytesAllTilesNewBuffer() throws Exception
Exception
public void testOpenBytesAllTilesPreAllocatedBuffer() throws Exception
Exception
public void testQuartersTwiceActualSize() throws Exception
Exception
public void testOpenBytesBlocksByRow512KB() throws Exception
Exception
public void testOpenBytesBlocksByRow1MB() throws Exception
Exception
Copyright © 2016 Open Microscopy Environment