-
Notifications
You must be signed in to change notification settings - Fork 36
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
Rework adapters #543
Rework adapters #543
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,11 @@ | ||||||||||
## Intro | ||||||||||
|
||||||||||
This package provides adapters to translate between `NetworkServiceServer` and `NetworkServiceClient` interfaces. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @xzfc Could you add the same README.md file for registry adapters? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
|
||||||||||
## Benchmarks | ||||||||||
|
||||||||||
| Benchmark | ns/op | allocs/op | | ||||||||||
|-------------------------------------|------:|----------:| | ||||||||||
| `BenchmarkServerToClient_Request` | 288 | 6 | | ||||||||||
| `BenchmarkClientToServer_Request` | 291 | 6 | | ||||||||||
| `BenchmarkNested20Adapters_Request` | 6159 | 120 | |
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Context:
sdk/pkg/networkservice/common/updatetoken/server_test.go
Lines 214 to 227 in 217f0e0
Path.Index
is now restored by updatetoken on line 215.This is changed because of the restored nesting order.