Make benchmark comparable between the different encoding path

This makes sure both run the same number of iterations so these are
properly comparable.