test for jpeg decoding performance