Implement caching of stacks.
Update task-perf-one-million