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

Upgrade dependencies, remove fmt.sprintf from hotpath #2287

Merged
merged 6 commits into from
Oct 19, 2020
Merged

Upgrade dependencies, remove fmt.sprintf from hotpath #2287

merged 6 commits into from
Oct 19, 2020

Conversation

yaron2
Copy link
Member

@yaron2 yaron2 commented Oct 19, 2020

This PR upgrades several key packages used by Dapr and replaces fmt.Sprintf from a method in service invocation hot path, as profiling had revealed it can be improved by concatenation.

Release Note

RELEASE NOTE: Improved performance by removing fmt.Sprintf from hot path for service invocation

youngbupark
youngbupark previously approved these changes Oct 19, 2020
@yaron2
Copy link
Member Author

yaron2 commented Oct 19, 2020

Wow, unit tests prevented a fail.

@codecov
Copy link

codecov bot commented Oct 19, 2020

Codecov Report

Merging #2287 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2287   +/-   ##
=======================================
  Coverage   48.32%   48.32%           
=======================================
  Files          70       70           
  Lines        6146     6146           
=======================================
  Hits         2970     2970           
  Misses       2920     2920           
  Partials      256      256           
Impacted Files Coverage Δ
pkg/messaging/direct_messaging.go 25.30% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0673a4a...90dbd84. Read the comment docs.

@yaron2 yaron2 merged commit c0844de into dapr:master Oct 19, 2020
@yaron2 yaron2 deleted the perf-2 branch October 19, 2020 21:25
@yaron2 yaron2 added this to In progress in 1.0.0 Milestone 1 via automation Oct 20, 2020
@yaron2 yaron2 self-assigned this Oct 20, 2020
@yaron2 yaron2 moved this from In progress to Review in 1.0.0 Milestone 1 Oct 20, 2020
@artursouza artursouza moved this from Review to Done in 1.0.0 Milestone 1 Oct 20, 2020
wcs1only pushed a commit to wcs1only/dapr that referenced this pull request Oct 22, 2020
* upgrade dependencies, remove fmt.sprintf from hotpath

* remove commented code

* fix test
@artursouza artursouza added this to Release in 1.0.0 Milestone Oct 27, 2020
vinayada1 pushed a commit to vinayada1/dapr that referenced this pull request Nov 2, 2020
* upgrade dependencies, remove fmt.sprintf from hotpath

* remove commented code

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants