The script run-and-stop-gunicorn.sh takes 1 second on both Python 2.7 and 3.4. $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS" $ $ $ source 27-env/bin/activate (27-env)$ time ./run-and-stop-gunicorn.sh [2016-05-09 17:07:16 +0000] [2735] [INFO] Starting gunicorn 19.4.5 [2016-05-09 17:07:16 +0000] [2735] [INFO] Listening at: http://127.0.0.1:8000 (2735) [2016-05-09 17:07:16 +0000] [2735] [INFO] Using worker: sync [2016-05-09 17:07:16 +0000] [2741] [INFO] Booting worker with pid: 2741 [2016-05-09 17:07:17 +0000] [2735] [INFO] Handling signal: term [2016-05-09 17:07:17 +0000] [2741] [INFO] Worker exiting (pid: 2741) [2016-05-09 17:07:17 +0000] [2735] [INFO] Shutting down: Master real 0m1.043s user 0m0.137s sys 0m0.041s (27-env)$ deactivate $ $ $ source 34-env/bin/activate (34-env)$ time ./run-and-stop-gunicorn.sh [2016-05-09 17:07:31 +0000] [2763] [INFO] Starting gunicorn 19.4.5 [2016-05-09 17:07:31 +0000] [2763] [INFO] Listening at: http://127.0.0.1:8000 (2763) [2016-05-09 17:07:31 +0000] [2763] [INFO] Using worker: sync [2016-05-09 17:07:31 +0000] [2767] [INFO] Booting worker with pid: 2767 [2016-05-09 17:07:32 +0000] [2763] [INFO] Handling signal: term [2016-05-09 17:07:32 +0000] [2767] [INFO] Worker exiting (pid: 2767) [2016-05-09 17:07:32 +0000] [2763] [INFO] Shutting down: Master real 0m1.096s user 0m0.281s sys 0m0.027s (34-env)$ deactivate