You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/05/14 06:53:43 UTC

[GitHub] [dubbo-go-hessian2] zonghaishang opened a new issue #186: [性能优化]提升hessian库解码string的性能

zonghaishang opened a new issue #186:
URL: https://github.com/apache/dubbo-go-hessian2/issues/186


   <!-- Please only use this template for submitting enhancement requests -->
   
   **What would you like to be added**:
   
   背景:
   
   在使用hessian库解码时,遇到hessian在处理string时性能很差。
   
   优化前后数据对比(提升55.9%):
   优化前:
   BenchmarkDecodeStringOrigin-12     2000000      661 ns/op     274 B/op     7 allocs/op
   优化后:
   BenchmarkDecodeStringOptimized-12      5000000     291 ns/op     226 B/op      6 allocs/op
   
   hessian go库内部多处会用到decode string, 比如map、list,因此会带来整体库性能收益。
   
   **Why is this needed**:
   
   提升rpc性能


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dubbo-go-hessian2] zonghaishang commented on issue #186: [性能优化]提升hessian库解码string的性能

Posted by GitBox <gi...@apache.org>.
zonghaishang commented on issue #186:
URL: https://github.com/apache/dubbo-go-hessian2/issues/186#issuecomment-635360837


   merged, close it now.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [GitHub] [dubbo-go-hessian2] zonghaishang opened a new issue #186: [性能优化]提升hessian库解码string的性能

Posted by YunKun Huang <ht...@gmail.com>.
hey,

Could anyone have a look and move those notifications
from dubbo-go-hessian2 project to notification@dubbo.apache.org?

On Thu, May 14, 2020 at 2:53 PM GitBox <gi...@apache.org> wrote:

>
> zonghaishang opened a new issue #186:
> URL: https://github.com/apache/dubbo-go-hessian2/issues/186
>
>
>    <!-- Please only use this template for submitting enhancement requests
> -->
>
>    **What would you like to be added**:
>
>    背景:
>
>    在使用hessian库解码时,遇到hessian在处理string时性能很差。
>
>    优化前后数据对比(提升55.9%):
>    优化前:
>    BenchmarkDecodeStringOrigin-12     2000000      661 ns/op     274 B/op
>    7 allocs/op
>    优化后:
>    BenchmarkDecodeStringOptimized-12      5000000     291 ns/op     226
> B/op      6 allocs/op
>
>    hessian go库内部多处会用到decode string, 比如map、list,因此会带来整体库性能收益。
>
>    **Why is this needed**:
>
>    提升rpc性能
>
>
> ----------------------------------------------------------------
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on to GitHub and use the
> URL above to go to the specific comment.
>
> For queries about this service, please contact Infrastructure at:
> users@infra.apache.org
>
>
>

[GitHub] [dubbo-go-hessian2] zonghaishang closed issue #186: [性能优化]提升hessian库解码string的性能

Posted by GitBox <gi...@apache.org>.
zonghaishang closed issue #186:
URL: https://github.com/apache/dubbo-go-hessian2/issues/186


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org