Collect timings for collections and objects also.

I know I am adding undocumented properties to a class, but I just want those timings, and it shouldn't break anything.
Merge branch 'timing' into merge