Add record reader memory profile test
Reduce record overhead
Add profiling for reader code