h5rs tools, browser reader, libhdf5 header checks, plugin filters, concurrency benchmark #14
@@ -292,7 +292,8 @@ mod parallel_tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sequential decompression
|
// Sequential decompression
|
||||||
let _sequential: Vec<Vec<u8>> = chunk_infos
|
#[cfg_attr(not(feature = "parallel"), allow(unused_variables))]
|
||||||
|
let sequential: Vec<Vec<u8>> = chunk_infos
|
||||||
.iter()
|
.iter()
|
||||||
.map(|ci| {
|
.map(|ci| {
|
||||||
let addr = ci.address as usize;
|
let addr = ci.address as usize;
|
||||||
|
|||||||
+9
-3
@@ -82,11 +82,13 @@ plugin_filters_alone() {
|
|||||||
}
|
}
|
||||||
run_step "cargo clippy (each plugin filter alone)" plugin_filters_alone
|
run_step "cargo clippy (each plugin filter alone)" plugin_filters_alone
|
||||||
|
|
||||||
# The facade's plugin-filter interop tests only build with the features on.
|
# The facade's plugin-filter interop tests and its parallel decoding tests
|
||||||
run_step "cargo clippy (facade plugin filters)" cargo clippy \
|
# only build with those features on (parallel_integration.rs stopped
|
||||||
|
# compiling unnoticed while nothing built it).
|
||||||
|
run_step "cargo clippy (facade plugin filters + parallel)" cargo clippy \
|
||||||
-p clawhdf5 \
|
-p clawhdf5 \
|
||||||
--all-targets \
|
--all-targets \
|
||||||
--features plugin-filters \
|
--features plugin-filters,parallel \
|
||||||
-- -D warnings
|
-- -D warnings
|
||||||
|
|
||||||
# The HNSW index's parallel bulk build is feature-gated too.
|
# The HNSW index's parallel bulk build is feature-gated too.
|
||||||
@@ -180,6 +182,10 @@ run_step "cargo test (format feature matrix)" cargo test \
|
|||||||
-p clawhdf5-format \
|
-p clawhdf5-format \
|
||||||
--features parallel,lz4,zstd,pcodec,fast-checksum,plugin-filters
|
--features parallel,lz4,zstd,pcodec,fast-checksum,plugin-filters
|
||||||
|
|
||||||
|
run_step "cargo test (facade parallel)" cargo test \
|
||||||
|
-p clawhdf5 \
|
||||||
|
--features parallel
|
||||||
|
|
||||||
run_step "cargo test (ann parallel)" cargo test \
|
run_step "cargo test (ann parallel)" cargo test \
|
||||||
-p clawhdf5-ann \
|
-p clawhdf5-ann \
|
||||||
--features parallel
|
--features parallel
|
||||||
|
|||||||
Reference in New Issue
Block a user