(#3089) - WIP - auto auto-compaction

This is not done yet, but I'm already seeing huge gains in the `temp-views` test. In Chrome, the time went from 15788ms to 11976ms (24% improvement).