Performance Tests
The performance test suite measures backend latency and throughput for computationally intensive operations. Each test uses a Jest timeout as the pass/fail threshold – if the backend does not complete the operation within the configured timeout, the test fails.
All performance tests read data files from the set_QA_performance directory. Three
file formats (FITS, CASA, HDF5) are tested for each operation, enabling cross-format
performance comparison.
Timeout values are configured in src/test/config.json under the performance key:
{
"performance": {
"openFile": 20000,
"readFile": 10000,
"playContour": 12000,
"playAnimator": 300000,
"setSpectralReqTimeout": 10000,
"momentTimeout": 400000,
"pvTimeout": 200000
}
}