perftest: more accurate throughput calculation

Accurate throughput calculation in perftest. I get a different result using this calculation (less MB/s).