docker-alpine icon indicating copy to clipboard operation
docker-alpine copied to clipboard

python3.5 on docker alpine is slower than docker ubuntu

Open folowing opened this issue 8 years ago • 1 comments

ubuntu 14.04 trusty image benchmark:

# python3 -c 'from test import pystone; pystone.main()'
Pystone(1.2) time for 50000 passes = 0.569234
This machine benchmarks at 87837.3 pystones/second

alpine 3.5 image benchmark:

# python3 -c 'from test import pystone; pystone.main()'
Pystone(1.2) time for 50000 passes = 0.715449
This machine benchmarks at 69886.2 pystones/second

folowing avatar Jun 22 '17 14:06 folowing

Seems likely due to musl versus glibc:

https://superuser.com/questions/1219609/why-is-the-alpine-docker-image-over-50-slower-than-the-ubuntu-image

casperdcl avatar Aug 11 '17 19:08 casperdcl