Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Network] Use string concatenation in rpc tracer ID #5641

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

peterargue
Copy link
Contributor

Closes: #5640

Switch to using string concatenation instead of fmt.Sprintf when generating rpc tracer IDs. the latter is 9x slower, so this will make a noticeable difference for this high volume action.

@peterargue peterargue requested a review from kc1116 April 8, 2024 20:50
@codecov-commenter
Copy link

codecov-commenter commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.59%. Comparing base (ad12394) to head (a224298).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5641      +/-   ##
==========================================
+ Coverage   55.55%   57.59%   +2.03%     
==========================================
  Files        1043      476     -567     
  Lines      102034    52492   -49542     
==========================================
- Hits        56689    30232   -26457     
+ Misses      40992    19854   -21138     
+ Partials     4353     2406    -1947     
Flag Coverage Δ
unittests 57.59% <ø> (+2.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@jordanschalm jordanschalm left a comment

Choose a reason for hiding this comment

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

🏎️

@peterargue peterargue changed the title [Network] Use string concatination in rpc tracer ID [Network] Use string concatenation in rpc tracer ID Apr 8, 2024
@peterargue peterargue added this pull request to the merge queue Apr 9, 2024
Merged via the queue into master with commit a203323 Apr 9, 2024
55 checks passed
@peterargue peterargue deleted the petera/5640-update-string-concat-rpc-tracer1 branch April 9, 2024 20:16
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.

[Networking] Use string concatenation in tracers\
4 participants