calculate compile time