Optimize security protocol reflection performance#15444
Optimize security protocol reflection performance#15444vio-lin wants to merge 2 commits intoapache:3.3from
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.3 #15444 +/- ##
============================================
- Coverage 60.92% 60.91% -0.01%
- Complexity 11432 11435 +3
============================================
Files 1887 1887
Lines 86266 86277 +11
Branches 12929 12929
============================================
Hits 52559 52559
- Misses 28269 28284 +15
+ Partials 5438 5434 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
in your machine it take how many times to process SerializeSecurityConfigurator addition with this pr? what's the different of cpu profile between the pr and original codes? |
https://github.com/vio-lin/dubbo-samples/tree/test-security-protocol dubbo-samples\2-advanced\dubbo-samples-async\dubbo-samples-async-simple-boot step:
With this pr SerializeSecurityConfigurator addition only process when client init。
in server side times relay to protocols size it can not be very large. the cpu profile , i use interface with 3 method and requesttype and response type with one layer inner class. |
|
If it is necessary to add sample testing, you'd better add a separate test module instead of updating dubbo-samples-async-simple-boot, and submit a dubbo-samples pr for it. |
|
@AlbumenJ PTAL |
|
one |
|
i think the simplest way might be:
|
@vio-lin would you like testing this plan and feedback what's the different? |
wait for moment. |
|
@vio-lin any progress? |
on vacation last week. 😀 it works well i change my test case registry multi instance to local zookeeper. provider consumer public class Task implements CommandLineRunner {
@DubboReference(async = true,version = "*")
private HiService hiService;add breakPoint in org.apache.dubbo.registry.integration.RegistryDirectory#toInvokers the method start and end. there is result.
|
|
solved |
What is the purpose of the change?
#14937
Checklist