Added compile time measuring.