Gary's Blog
  • Home
  • EnglishEnglish
    EnglishEnglish中文 (中国)中文 (中国)

Tag: beego

Analyze running performance and time consumption of beego with golang pprof

2022-04-11 121 Uncategorized Leave a Comment
Go has a package name pprof that we can use directly to analyze the performance of go app, include beego. The report of pprof tells will tell us CPU cost, Memory cost, Time (CPU) cost an so on. 1 Turn on pprof Add a new controller to collect analyze data: package analyze import ( "github.com/astaxie/beego&…

Tag Cloud

beego Docker ffmpeg Freemarker GitLab Gmail golang Kafka MySQL Python RabbitMQ Redis RSS spring boot Thymeleaf VMWare WordPress
Theme: Maizi. Powered by WordPress.