fixed so is compiled before measuring performance