mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-17 23:45:11 +02:00
Prototype multi threaded file reader (#343)
- Reading files from nfs shares tops out at ~1GB/s for single threaded reads. - MultiThreadedFileReader uses our File wrapper to read a generic file in parallel - Placed in aare::experimental to show that it's not production ready
This commit is contained in:
@@ -34,6 +34,9 @@ TEST_CASE("trim whitespace") {
|
||||
}
|
||||
|
||||
TEST_CASE("parse data type descriptions") {
|
||||
REQUIRE(parse_descr("|i1") == aare::Dtype::INT8);
|
||||
REQUIRE(parse_descr("|u1") == aare::Dtype::UINT8);
|
||||
|
||||
REQUIRE(parse_descr("<i1") == aare::Dtype::INT8);
|
||||
REQUIRE(parse_descr("<i2") == aare::Dtype::INT16);
|
||||
REQUIRE(parse_descr("<i4") == aare::Dtype::INT32);
|
||||
@@ -63,4 +66,4 @@ TEST_CASE("Parse numpy dict") {
|
||||
REQUIRE(map["descr"] == "'<f4'");
|
||||
REQUIRE(map["fortran_order"] == "False");
|
||||
REQUIRE(map["shape"] == "(3, 4)");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user