@@ -4,7 +4,6 @@ use crate::ImageError;
4
4
use num_traits:: { AsPrimitive , MulAdd } ;
5
5
use std:: mem:: size_of;
6
6
use std:: ops:: { Add , Mul } ;
7
- use std:: time:: Instant ;
8
7
9
8
#[ cfg( any(
10
9
all(
@@ -797,8 +796,6 @@ where
797
796
798
797
let mut transient_image = vec ! [ T :: default ( ) ; image_size. width * image_size. height * N ] ;
799
798
800
- let start_time = Instant :: now ( ) ;
801
-
802
799
for ( y, dst) in transient_image
803
800
. chunks_exact_mut ( image_size. width * N )
804
801
. enumerate ( )
@@ -831,8 +828,6 @@ where
831
828
) ;
832
829
}
833
830
834
- println ! ( "Horizontal time {:?}" , start_time. elapsed( ) ) ;
835
-
836
831
let column_kernel_shape = KernelShape {
837
832
width : 0 ,
838
833
height : scanned_column_kernel. len ( ) ,
@@ -857,8 +852,6 @@ where
857
852
858
853
let src_stride = image_size. width * N ;
859
854
860
- let start_time = Instant :: now ( ) ;
861
-
862
855
for ( y, dst) in destination
863
856
. chunks_exact_mut ( image_size. width * N )
864
857
. enumerate ( )
@@ -893,8 +886,6 @@ where
893
886
) ;
894
887
}
895
888
896
- println ! ( "Vertical time {:?}" , start_time. elapsed( ) ) ;
897
-
898
889
Ok ( ( ) )
899
890
}
900
891
0 commit comments