V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
iZr
V2EX  ›  Go 编程语言

请问如何降低 Go cpu 占用过高问题?

  •  
  •   iZr · 2013-12-08 10:23:05 +08:00 · 2405 次点击
    这是一个创建于 3764 天前的主题,其中的信息可能已经有所发展或是发生改变。
    内存2g,cpu2核,
    通常有哪些方法?
    磕头感谢.
    1 条回复    1970-01-01 08:00:00 +08:00
    suchj
        1
    suchj  
       2013-12-08 10:48:09 +08:00
    用profiling分析程序cpu占用,优化占用多的地方,可以参考:
    http://blog.golang.org/profiling-go-programs
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2925 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 11:13 · PVG 19:13 · LAX 04:13 · JFK 07:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.