The OpenStack-Ansible project has noticed that performance on Ubuntu 16.04 is quite significantly slower than on 14.04. At the moment it's looking like possibly a GCC related bug.
Is it exactly the same Python version? What is the full version?
Try to get compiler flags:
python2 -c 'import sysconfig; print(sysconfig.get_config_var("CFLAGS"))'
2016-11-10 18:01 GMT+01:00 Paul Graydon firstname.lastname@example.org:
I've a niggling feeling there was discussion about some performance drops on 16.04 not all that long ago, but I'm completely failing to find it in my emails.
You might run https://github.com/python/performance on Ubuntu 14.04 and 16.04 on the same hardware, or at least similar hardware, to compare performance.