mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-10-18 20:35:17 +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:
+4
-1
@@ -12,6 +12,9 @@ TEST_CASE("Construct from typeid") {
|
||||
}
|
||||
|
||||
TEST_CASE("Construct from string") {
|
||||
REQUIRE(Dtype("|i1") == typeid(int8_t));
|
||||
REQUIRE(Dtype("|u1") == typeid(uint8_t));
|
||||
|
||||
if (endian::native == endian::little) {
|
||||
REQUIRE(Dtype("<i1") == typeid(int8_t));
|
||||
REQUIRE(Dtype("<u1") == typeid(uint8_t));
|
||||
@@ -53,4 +56,4 @@ TEST_CASE("Construct from string with endianess") {
|
||||
|
||||
TEST_CASE("Convert to string") {
|
||||
REQUIRE(Dtype(typeid(int)).to_string() == "<i4");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user