maflcko
commented at 3:01 pm on September 2, 2024:
member
LogPrint*ThreadNames is redundant with LogWith(out)ThreadNames,
because they all measure toggling the thread names (and check that it
has no effect on performance).
Fix it by removing the redundant ones. This also allows to drop a deprecated logging alias.
DrahtBot
commented at 11:13 pm on September 2, 2024:
contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
No conflicts as of last run.
bench: Use LogInfo instead of the deprecated alias LogPrintffa8dd952e2
bench: Remove redundant logging benchmarks
LogPrint*ThreadNames is redundant with LogWith(out)ThreadNames, because
they all measure toggling the thread names (and check that it has no
effect on performance).
This also allows to remove unused and deprecated macros.
fadbcd51fc
maflcko force-pushed
on Sep 5, 2024
fanquake requested review from stickies-v
on Sep 5, 2024
stickies-v approved
stickies-v
commented at 4:31 pm on September 5, 2024:
contributor
ACKfadbcd51fc77a3f4e877851463f3c7425fb751d2
Logging conditionality is orthogonal to the performance effect of logging threadnames, so just keeping the unconditional one makes sense. Removing the now unused LogPrintfCategory is a nice cleanup.
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-09-20 01:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me