public class DataSetToByteArraySample extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DataSetToByteArraySample.DataSetWrapper |
| Constructor and Description |
|---|
DataSetToByteArraySample() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearGarbage() |
protected boolean |
floatIdentity(double a,
double b) |
static String |
humanReadableByteCount(long bytes,
boolean si) |
static void |
main(String[] args) |
void |
testDataSetSerialiserIdentity(boolean withMetaData,
boolean asFloat32) |
void |
testDataSetUtilsIdentity(boolean binary,
boolean asFloat32) |
void |
testGenericSerialiserIdentity(boolean asFloat32) |
void |
testGenericSerializerPerformance(int iterations,
boolean withMetaInfos,
boolean asFloat32) |
void |
testIdentityCore(boolean binary,
boolean asFloat32,
de.gsi.dataset.DataSetError originalDS,
de.gsi.dataset.DataSetError testDS) |
void |
testIdentityLabelsAndStyles(boolean binary,
boolean asFloat32,
de.gsi.dataset.DataSet2D originalDS,
de.gsi.dataset.DataSet testDS) |
void |
testIdentityMetaData(boolean binary,
boolean asFloat32,
de.gsi.dataset.DataSetMetaData originalDS,
de.gsi.dataset.DataSetMetaData testDS) |
void |
testPerformance(int iterations,
boolean withMetaInfos,
boolean binary,
boolean asFloat32) |
void |
testSerializerPerformance(int iterations,
boolean withMetaInfos,
boolean asFloat32) |
public void clearGarbage()
protected boolean floatIdentity(double a,
double b)
public void testDataSetSerialiserIdentity(boolean withMetaData,
boolean asFloat32)
public void testDataSetUtilsIdentity(boolean binary,
boolean asFloat32)
public void testGenericSerialiserIdentity(boolean asFloat32)
public void testGenericSerializerPerformance(int iterations,
boolean withMetaInfos,
boolean asFloat32)
public void testIdentityCore(boolean binary,
boolean asFloat32,
de.gsi.dataset.DataSetError originalDS,
de.gsi.dataset.DataSetError testDS)
public void testIdentityLabelsAndStyles(boolean binary,
boolean asFloat32,
de.gsi.dataset.DataSet2D originalDS,
de.gsi.dataset.DataSet testDS)
public void testIdentityMetaData(boolean binary,
boolean asFloat32,
de.gsi.dataset.DataSetMetaData originalDS,
de.gsi.dataset.DataSetMetaData testDS)
public void testPerformance(int iterations,
boolean withMetaInfos,
boolean binary,
boolean asFloat32)
public void testSerializerPerformance(int iterations,
boolean withMetaInfos,
boolean asFloat32)
public static String humanReadableByteCount(long bytes, boolean si)
public static void main(String[] args)
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.