You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/09/10 12:02:49 UTC

[GitHub] [incubator-brpc] gydong commented on issue #1240: 使用std::locale相关接口导致cpu消耗剧增,不知道是否和brpc有关

gydong commented on issue #1240:
URL: https://github.com/apache/incubator-brpc/issues/1240#issuecomment-690223287


   看你描述,不会和brpc有关系,main函数开始的时候,brpc框架本身还没有初始化完成,不会形成竞争。
   
   记录下 std::locale 函数运行了多少us看看? 
   是用的brpc自带的cpu profile功能吗,流量开始进入的时候,这时候global函数不都运行完了么?
   


----------------------------------------------------------------
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: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org