Skip to content

Count time spent in package installation#147

Merged
automergerpr-permission-manager[bot] merged 2 commits intomasterfrom
install_time
Mar 10, 2026
Merged

Count time spent in package installation#147
automergerpr-permission-manager[bot] merged 2 commits intomasterfrom
install_time

Conversation

@anvacaru
Copy link
Contributor

@anvacaru anvacaru commented Mar 9, 2026

  • Captured install_start_time = time.monotonic() immediately after emitting kup_install_start
  • Added duration_seconds (rounded to one decimal) to the kup_install_complete event properties
  • Added _format_duration to format the durations from float seconds to a raw time string.
  • Elapsed time is now shown at the end of the process.

@anvacaru anvacaru requested a review from juliankuners March 9, 2026 11:13
Copy link
Contributor

@juliankuners juliankuners left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment, otherwise LGTM

@automergerpr-permission-manager automergerpr-permission-manager bot merged commit 9cff6f6 into master Mar 10, 2026
1 check passed
@automergerpr-permission-manager automergerpr-permission-manager bot deleted the install_time branch March 10, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants