added benchmarking to collector