Skip to content

Commit

Permalink
[script] rely on curl times instead of from time cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
m4r1k committed Mar 17, 2020
1 parent 8967ae6 commit d3f059b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/token_perf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source ~/overcloudrc

while :;
do
time curl -s -o /dev/null -i -H "Content-Type: application/json" -d '
time curl -s -o /dev/null -w "%{time_total}" -i -H "Content-Type: application/json" -d '
{ "auth": {
"identity": {
"methods": ["password"],
Expand Down
2 changes: 1 addition & 1 deletion scripts/token_perf_uc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source ~/stackrc

while :;
do
time curl -s -o /dev/null -i -H "Content-Type: application/json" -d '
curl -s -o /dev/null -w "%{time_total}" -i -H "Content-Type: application/json" -d '
{ "auth": {
"identity": {
"methods": ["password"],
Expand Down

0 comments on commit d3f059b

Please sign in to comment.