Add benchmark that uses if-then statement

This benchmark does not include the stack array as we want to measure
its effects separately.