recording benchmark output from corresponding program