Skip to content

Comments

[RDF] Fix display of times in the progress bar.#21277

Merged
hageboeck merged 1 commit intoroot-project:masterfrom
hageboeck:fixProgressBar
Feb 16, 2026
Merged

[RDF] Fix display of times in the progress bar.#21277
hageboeck merged 1 commit intoroot-project:masterfrom
hageboeck:fixProgressBar

Conversation

@hageboeck
Copy link
Member

ea44358 from #21263 fixed a compilation error on Windows that did not show up in the PR. This, however, broke the display of times in the progress bar.

This commit restores the behaviour without relying on operator<<, but instead using a free function in an anonymous namespace. It's unclear why MSVC didn't find the operator that was initially meant to do this, but by calling a free function, that problem should be gone.

Progress bar before:
[Elapsed: 2 files: 1 / 1 events: 1000 / 61540413 4.51e+02 evt/s remaining ca.: 136410]

Progress bar after:
[Elapsed: 0:02m files: 1 / 1 events: 1000 / 61540413 4.54e+02 evt/s remaining ca.: 37:39:42h]

ea44358 fixed a compilation error on Windows that did not show up in
the PRs. This, however, broke the display of times in the progress bar.

This commit restores the behaviour without relying on operator<<, but
instead using a free function in an anonymous namespace. It's unclear
why MSVC didn't find the operator that was initially meant to do this,
but by calling a free function, that problem should be gone.

Progress bar before:
[Elapsed: 2  files: 1 / 1  events: 1000 / 61540413  4.51e+02 evt/s  remaining ca.: 136410]

Progress bar after:
[Elapsed: 0:02m  files: 1 / 1  events: 1000 / 61540413  4.54e+02 evt/s  remaining ca.: 37:39:42h]
Copy link
Contributor

@martamaja10 martamaja10 left a comment

Choose a reason for hiding this comment

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

great, thanks for catching this!

@github-actions
Copy link

Test Results

    22 files      22 suites   3d 7h 1m 32s ⏱️
 3 791 tests  3 791 ✅ 0 💤 0 ❌
76 270 runs  76 270 ✅ 0 💤 0 ❌

Results for commit 4cc300e.

@hageboeck hageboeck merged commit 57c8f40 into root-project:master Feb 16, 2026
29 of 30 checks passed
@hageboeck hageboeck deleted the fixProgressBar branch February 16, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants