o r e i 7 - 3 9 7 0 X @ 3 . 5 0 G H z , R A M 8 G b , U b u n t u 1 2 . 1 0 x 6 4 , P y t h o n 3 . 3 . 0 i m p o r t t i m e i t i n p u t s = [ 1 0 0 0 , 1 0 0 0 0 , 5 0 0 0 0 0 , 1 0 0 0 0 0 0 ] f o r i n p u t i n i n p u t s : t i m e i t . t i m e i t ( ' m y _ a l g o ( i n p u t ) ' , n u m b e r = 1 0 0 0 ) l i s t o f 1 0 0 0 i t e m s : 1 0 0 0 l o o p s , b e s t o f 3 : 5 0 . 3 m s p e r l o o p l i s t o f 1 0 0 0 0 i t e m s : 1 0 0 0 l o o p s , b e s t o f 3 : 1 0 4 . 7 m s p e r l o o p l i s t o f 5 0 0 0 0 0 i t e m s : 1 0 0 0 l o o p s , b e s t o f 3 : 4 5 9 . 1 m s p e r l o o p l i s t o f 1 0 0 0 0 0 0 i t e m s : 1 0 0 0 l o o p s , b e s t o f 3 : 3 . 1 2 s p e r l o o p