Bencharks: Cleanup measurements

Add Measurements class instead of passing around arrays of long
everywhere.