\(\renewcommand\AA{\unicode{x212B}}\)
Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
SaveFilename | Input | string | The name of the Nexus file to write. Allowed extensions: [‘.nxs’] | |
LoadFilename | Input | string | The name of the Nexus file to load (optional). Must have been written by NexusTester algorithm. Allowed extensions: [‘.nxs’] | |
ChunkSize | Input | number | 10 | Chunk size for writing/loading, in kb of data |
NumChunks | Input | number | 10 | Number of chunks to load or write |
Compress | Input | boolean | True | For writing: compress the data. |
HDFCacheSize | Input | number | 2000000 | HDF cache size, in bytes |
ClearDiskCache | Input | boolean | False | Clear the linux disk cache before loading. Only works on linux AND you need to run MantidPlot in sudo mode (!). |
FakeData | Input | string | Incrementing Numbers | For writing: type of fake data to generate. Allowed values: [‘Zeros’, ‘Incrementing Numbers’, ‘Random Numbers’] |
CompressionFactor | Output | number | The size of the file divided by the the size of the data on disk. | |
SaveSpeed | Output | number | The measured rate of saving the file, in MB (of data)/sec. | |
LoadSpeed | Output | number | The measured rate of loading the file, in MB (of data)/sec. |
This algorithm is meant for developers only!
This algorithm is used for performance testing and debugging of nexus saving and loading.
If you specify SaveFilename
(optional), then the algorithm will save a
file with the given number of chunks of the given size.
If you specify LoadFilename
(optional), then the algorithm will load
back a file created with this algorithm.
The SaveSpeed
and LoadSpeed
output properties are set to the saving
and loading rates, in MB per second.
Categories: AlgorithmIndex | Utility\Development
C++ header: NexusTester.h (last modified: 2020-03-20)
C++ source: NexusTester.cpp (last modified: 2020-04-07)