refactor to marshal and unmarshal individual benchmark