Skip to content

perf(event bus): Remove expensive Logger debug call in PublishEventTx (backport #2911)#2935

Merged
andynog merged 1 commit intov1.xfrom
mergify/bp/v1.x/pr-2911
Apr 29, 2024
Merged

perf(event bus): Remove expensive Logger debug call in PublishEventTx (backport #2911)#2935
andynog merged 1 commit intov1.xfrom
mergify/bp/v1.x/pr-2911

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Apr 29, 2024

Component of #2869

This on its own is an expected 1% speedup to blocksync on osmosis mainnet right now.

I originally considered keeping the log lines but with only creating the logger cost if there is an error, but these are debug logs I've never seen. I think its better to just remove these debug logs directly, rather than worry about maintaining them. These aren't even that concerning scenarios I feel like, as more of the stack moves away from these.


PR checklist

  • Tests written/updated - Covered by existing tests
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments
  • Title follows the Conventional Commits spec

This is an automatic backport of pull request #2911 done by [Mergify](https://mergify.com).

…#2911)

Component of #2869

This on its own is an expected 1% speedup to blocksync on osmosis
mainnet right now.

I originally considered keeping the log lines but with only creating the
logger cost if there is an error, but these are debug logs I've never
seen. I think its better to just remove these debug logs directly,
rather than worry about maintaining them. These aren't even that
concerning scenarios I feel like, as more of the stack moves away from
these.

---

#### PR checklist

- [x] Tests written/updated - Covered by existing tests
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [X] Updated relevant documentation (`docs/` or `spec/`) and code
comments
- [X] Title follows the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) spec

(cherry picked from commit ce68e90)
@mergify mergify bot requested a review from a team as a code owner April 29, 2024 18:32
@mergify mergify bot requested a review from a team April 29, 2024 18:32
@andynog andynog self-assigned this Apr 29, 2024
Copy link
Collaborator

@andynog andynog left a comment

Choose a reason for hiding this comment

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

lgtm

@andynog andynog merged commit 10ae3e4 into v1.x Apr 29, 2024
@andynog andynog deleted the mergify/bp/v1.x/pr-2911 branch April 29, 2024 18:43
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.

2 participants