Skip to content

Commit 9e00fef

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "add pip install timing"
2 parents aff4606 + cb658fa commit 9e00fef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

inc/python

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ function pip_install {
8080
return
8181
fi
8282

83+
time_start "pip_install"
84+
8385
PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE)
8486
if [[ "$PIP_UPGRADE" = "True" ]] ; then
8587
upgrade="--upgrade"
@@ -137,6 +139,8 @@ function pip_install {
137139
$cmd_pip $upgrade \
138140
-r $test_req
139141
fi
142+
143+
time_stop "pip_install"
140144
}
141145

142146
# get version of a package from global requirements file

0 commit comments

Comments
 (0)