增加XML转换的快速模式,发送请求以及组装响应对象的时候,不再依赖java的反射机制。#1390
Merged
binarywang merged 7 commits intobinarywang:developfrom Jan 28, 2020
outersky:develop
Merged
增加XML转换的快速模式,发送请求以及组装响应对象的时候,不再依赖java的反射机制。#1390binarywang merged 7 commits intobinarywang:developfrom outersky:develop
binarywang merged 7 commits intobinarywang:developfrom
outersky:develop
Conversation
1:提升性能 2:可以通过 graalvm 生成native image. 本次完成:全部BaseWxPayRequest的改造,部分BaseWxPayResult子类的改造。
Owner
|
都改造完了吗? |
Author
|
经过改造,现在已经利用graalvm生成native-image |
Author
全部完成了,有时间了把所有的XML解析补充一下测试案例。 |
Owner
|
感谢,先合并代码了,你测试没问题就好,毕竟不改变原有代码行为。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的:
1:可以通过 graalvm 生成native image.
2:提升性能
参见XmlConfig.java中的说明:
主体功能已经完成改造,剩余notify 下面2个子类需要特殊处理。
另外,测试是个问题,1:本身现在项目中的测试案例不多;2:所有业务场景的模拟数据缺失,不易进行XML双向转换的测试。
改动比较多,希望能大家一起测试。