Update benchmark script to write to builds directory, emit compiler stats