Skip to content

perf: Box::pin replaced by pin! for future returned by self.client_server_exchange(context) - #1396

Open
ygxio wants to merge 1 commit into
pgdogdev:mainfrom
ygxio:perf/frontend-hot-path
Open

perf: Box::pin replaced by pin! for future returned by self.client_server_exchange(context)#1396
ygxio wants to merge 1 commit into
pgdogdev:mainfrom
ygxio:perf/frontend-hot-path

Conversation

@ygxio

@ygxio ygxio commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

closes #1395

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ygxio
ygxio force-pushed the perf/frontend-hot-path branch from 248b4bc to 4096472 Compare August 20, 2026 06:38
@ygxio ygxio changed the title perf: drop per-query map lock and future boxing on the client hot path perf: Box::pin for future returned by self.client_server_exchange(context) Aug 20, 2026
@ygxio ygxio changed the title perf: Box::pin for future returned by self.client_server_exchange(context) perf: Box::pin replaced by pin! for future returned by self.client_server_exchange(context) Aug 20, 2026
@ygxio

ygxio commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Can i get a review here @levkk

@jkaczman jkaczman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I looked through the issue linked, and it doesn't look like the stats you showed correlate to these exact changes (had some other things included); could you please clarify on the exact improvements here?

@ygxio

ygxio commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

yes as per keryl i removed the changes of DashMap and only kept the pinning changes

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.

perf: Box::pin replace by pin! for future returned by self.client_server_exchange(context)

2 participants