https://github.com/derpeter/jpeg-benchmark

(need to remove sse2 compiler flags for libjpeg and stb-image

run rustup https://rustup.rs/

pi4 32bit raspberrypiOS

deer.jpg

libjpeg-turbo (2.0.5) 241.96ms
stb_image (2.26) 538.68ms
jpeg-decoder (0.1.20) 387.23ms
go (1.11.6) 558.16ms

deer_progressive.jpg

libjpeg-turbo (2.0.5) 478.72ms
stb_image (2.26) 798.86ms
jpeg-decoder (0.1.20) 676.24ms
go (1.11.6) 1069.42ms

pi3 64bit raspberrypiOS

deer.jpg

libjpeg-turbo (2.0.5) 320.34ms
stb_image (2.26) 696.64ms
jpeg-decoder (0.1.20) 537.00ms
go (1.11.6) 1258.59ms

deer_progressive.jpg

libjpeg-turbo (2.0.5) 827.50ms
stb_image (2.26) 1319.81ms
jpeg-decoder (0.1.20) 1116.13ms
go (1.11.6) 2041.19ms

Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz 64bit

deer.jpg

libjpeg-turbo (2.0.5) 66.45ms
stb_image (2.26) 126.73ms
jpeg-decoder (0.1.20) 195.19ms
go (1.13.8) 279.94ms

deer_progressive.jpg

libjpeg-turbo (2.0.5) 195.46ms
stb_image (2.26) 293.10ms
jpeg-decoder (0.1.20) 389.04ms
go (1.13.8) 511.28ms

Intel(R) Celeron(R) N4100 CPU @ 1.10GHz 64bit

deer.jpg

libjpeg-turbo (2.0.5) 198.26ms
stb_image (2.26) 152.66ms
jpeg-decoder (0.1.20) 183.65ms
go (1.13.8) 334.57ms

deer_progressive.jpg

libjpeg-turbo (2.0.5) 373.19ms
stb_image (2.26) 336.92ms
jpeg-decoder (0.1.20) 361.64ms
go (1.13.8) 554.87ms