0
点赞
收藏
分享

微信扫一扫

dubbo序列化/反序列化框架smartbuf基准测试

测试软件版本

dubbo:2.7.9

jdk:zulu11

smartbuf:1.0.1

dubbo序列化/反序列化框架smartbuf基准测试_软件版本

 

其中pageHelper分页方法返回的是ImmutableMap对象

 smartbuf依赖如下

<dependency>
<groupId>com.github.smartbuf</groupId>
<artifactId>smartbuf-dubbo</artifactId>
</dependency>

 

测试过程中,顺带测试了protostuff报错、protobuff报错不能用

 

结论

1、smartbuf对jdk11支持的比较好,以及google第三方工具都有很好的支持

2、smartbuf支持枚举类型,网上说kypo不支持枚举

3、推荐使用smartbuf

​​https://github.com/smartbuf/smartbuf-dubbo​​

举报

相关推荐

0 条评论