Is there any room for optimization?

Source: Internet
Author: User
This is a created article in which the information may have evolved or changed. One of my Web services with go write high load, the following is some information of pprof, want to ask, like these calls from the code point of view there is room to optimize? Supplemental Instructions: is a count of services that exist in a global map, with virtually no other operations "' (pprof) top109010ms of 17440ms Total (51.66%) Dropped 310 nodes (cum <= 87.20ms) Showing top 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% Runtim E.readvarint 280ms 1.61% 48.97% 2090ms 11.98% runtime.gentraceback 240ms 1.38% 50.34% 1040ms 5.96% runtime.adjustframe 230 Ms 1.32% 51.66% 230ms 1.32% runtime.adjustpointers "288 reads

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.