我的一个用go写的web服务导致负载比较高,以下是pprof的一些信息,想请问下,像这些调用从代码角度还有可以优化的空间吗?
补充说明下:是一个计数的服务,存在一个全局map里,几乎没有其他操作
```
(pprof) top10
9010ms of 17440ms total (51.66%)
Dropped 310 nodes (cum <= 87.20ms)
Showing top 10 nodes out of 185 (cum >= 230ms)
flat flat% sum% cum cum%
5240ms 30.05% 30.05% 5330ms 30.56% syscall.Syscall
820ms 4.70% 34.75% 970ms 5.56% syscall.Syscall6
580ms 3.33% 38.07% 580ms 3.33% runtime.epollctl
470ms 2.69% 40.77% 1050ms 6.02% runtime.pcvalue
430ms 2.47% 43.23% 430ms 2.47% runtime._ExternalCode
420ms 2.41% 45.64% 1350ms 7.74% runtime.mallocgc
300ms 1.72% 47.36% 300ms 1.72% runtime.readvarint
280ms 1.61% 48.97% 2090ms 11.98% runtime.gentraceback
240ms 1.38% 50.34% 1040ms 5.96% runtime.adjustframe
230ms 1.32% 51.66% 230ms 1.32% runtime.adjustpointers
```
有疑问加站长微信联系(非本文作者))