WIP, record number of bytes written during compilation