Skip to content

"Total elapsed time" can not be right #16850

@autoantwort

Description

@autoantwort

Describe the bug
When I run ./vcpkg install --triplet=x64-osx, the Total elapsed timeis 2.25 us. But the time is definitely longer than a second. When I run with time:

➜  vcpkg git:(aubio) $ time ./vcpkg install --triplet=x64-osx
/Users/leanderSchulten/git_projekte/Lichtsteuerung
Detecting compiler hash for triplet x64-osx...
All requested packages are currently installed.

Total elapsed time: 2.25 us

./vcpkg install --triplet=x64-osx  1.61s user 0.24s system 95% cpu 1.945 total

Environment

  • OS: happens everwhere
  • Compiler: is not important

Expected behavior
The Total elapsed time should display the real total elapsed time, not some "random" very short subtime

Alternative Solutions
Rename Total elapsed time to Time to install packages (I don't know what this time should indicate).
But a real Total elapsed time would be helpful

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)requires:tool-releaseAn issue that has been fixed in the microsoft/vcpkg-tool repo and is waiting for a release thereof

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions