add benchmark to evaluate impact of an extra boolean branch