Skip to content

Commit 7a05512

Browse files
mcantrellJ-F-Liu
authored andcommitted
chore: disabled async feature for document load performance test
1 parent dcf38ee commit 7a05512

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/document_load_performance.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use lopdf::Document;
22
use std::time::Instant;
33

4+
#[cfg(not(feature = "async"))]
45
#[test]
56
fn page_count_meta_data_performance_test() {
67
let document_path = "tests/regression/test.pdf";
@@ -18,6 +19,7 @@ fn page_count_meta_data_performance_test() {
1819
assert!(elapsed_time.as_millis() < 100, "Expected load in <100ms, got {}ms", elapsed_time.as_millis());
1920
}
2021

22+
#[cfg(not(feature = "async"))]
2123
#[test]
2224
fn page_count_performance_test() {
2325
let document_path = "tests/regression/test.pdf";

0 commit comments

Comments
 (0)