Measures performance of various python data structures