added more timing data and memory usage statistics