From cb658fab15dbf8074038bc76fc54ec4afccf5716 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 8 Oct 2015 17:12:03 -0400 Subject: [PATCH] add pip install timing Change-Id: I368fec44858bd97fc6a314fb20eed2b10932cbb1 --- inc/python | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/python b/inc/python index fe7bba6992..7d026c5933 100644 --- a/inc/python +++ b/inc/python @@ -80,6 +80,8 @@ function pip_install { return fi + time_start "pip_install" + PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE) if [[ "$PIP_UPGRADE" = "True" ]] ; then upgrade="--upgrade" @@ -137,6 +139,8 @@ function pip_install { $cmd_pip $upgrade \ -r $test_req fi + + time_stop "pip_install" } # get version of a package from global requirements file