gpprof

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

系统优化(pprof)

如何引用

  1. 代码
import (
    _ "github.com/GuoxinL/gcomponent/components/optimize-pprof"
)
  1. 配置文件(application.yaml)
components:
  optimize:
    pprof:
      # 端口号
      port: 19190
      # 是否开启
      enable: true

如何使用

性能观察、调优

https://segmentfault.com/a/119000001641201

Documentation

Overview

Package gpprof Created by guoxin in 2020/6/5 4:35 下午

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(params ...interface{})

Types

type Configuration

type Configuration struct {
	core.InitializeLock
	Port string `mapstructure:"port"`
	core.BEnable
}

func (*Configuration) Initialize

func (c *Configuration) Initialize(params ...interface{}) interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL