add compile unit for compile performance in future