Adding timing + memory usage