Measuring the time necessary to pre-process the input.