[BUG #7246] Added 'before' parameter to measureIterations