tests: Make the benchmark report duration and Hz.
encoding: In BinaryXmlWireFormat, implement encodeData.