Skip to content

Commit 1c73c52

Browse files
committed
Removed time
1 parent b5fa826 commit 1c73c52

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/imageops/filter_1d.rs

-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use crate::ImageError;
44
use num_traits::{AsPrimitive, MulAdd};
55
use std::mem::size_of;
66
use std::ops::{Add, Mul};
7-
use std::time::Instant;
87

98
#[cfg(any(
109
all(
@@ -797,8 +796,6 @@ where
797796

798797
let mut transient_image = vec![T::default(); image_size.width * image_size.height * N];
799798

800-
let start_time = Instant::now();
801-
802799
for (y, dst) in transient_image
803800
.chunks_exact_mut(image_size.width * N)
804801
.enumerate()
@@ -831,8 +828,6 @@ where
831828
);
832829
}
833830

834-
println!("Horizontal time {:?}", start_time.elapsed());
835-
836831
let column_kernel_shape = KernelShape {
837832
width: 0,
838833
height: scanned_column_kernel.len(),
@@ -857,8 +852,6 @@ where
857852

858853
let src_stride = image_size.width * N;
859854

860-
let start_time = Instant::now();
861-
862855
for (y, dst) in destination
863856
.chunks_exact_mut(image_size.width * N)
864857
.enumerate()
@@ -893,8 +886,6 @@ where
893886
);
894887
}
895888

896-
println!("Vertical time {:?}", start_time.elapsed());
897-
898889
Ok(())
899890
}
900891

0 commit comments

Comments
 (0)