Timedata memory usage

Next to measuring the time, it might be interesting to keep track of the memory usage. Thoughts?

Tasks:
 - [ ] Test better
 - [ ] Tweak layout?