Add benchmark for Encoder/Decoder