Browse code

Merge "add pip install timing"

Jenkins authored on 2015/10/13 11:12:33
Showing 1 changed files
... ...
@@ -80,6 +80,8 @@ function pip_install {
80 80
         return
81 81
     fi
82 82
 
83
+    time_start "pip_install"
84
+
83 85
     PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE)
84 86
     if [[ "$PIP_UPGRADE" = "True" ]] ; then
85 87
         upgrade="--upgrade"
... ...
@@ -137,6 +139,8 @@ function pip_install {
137 137
             $cmd_pip $upgrade \
138 138
             -r $test_req
139 139
     fi
140
+
141
+    time_stop "pip_install"
140 142
 }
141 143
 
142 144
 # get version of a package from global requirements file