added function for benchmarking std containers. converted existing benchmark to use it.