benchmark for encoding/decoding