Got rid of a couple of warnings in the example
Enabled optimization in the benchmark