上传性能检测
This commit is contained in:
parent
a58a7ddb0c
commit
ef78558124
@ -4,6 +4,7 @@ package pprof_test
|
|||||||
查看堆栈调用信息
|
查看堆栈调用信息
|
||||||
go tool pprof http://122.51.39.132:9090/debug/pprof/heap
|
go tool pprof http://122.51.39.132:9090/debug/pprof/heap
|
||||||
查看 30 秒内的 CPU 信息
|
查看 30 秒内的 CPU 信息
|
||||||
|
go tool pprof http://122.51.39.132:9090/debug/pprof/profile -seconds 10
|
||||||
go tool pprof http://122.51.39.132:9090/debug/pprof/profile?seconds=30
|
go tool pprof http://122.51.39.132:9090/debug/pprof/profile?seconds=30
|
||||||
查看 goroutine 阻塞
|
查看 goroutine 阻塞
|
||||||
go tool pprof http://122.51.39.132:9090/debug/pprof/block
|
go tool pprof http://122.51.39.132:9090/debug/pprof/block
|
||||||
@ -11,6 +12,7 @@ go tool pprof http://122.51.39.132:9090/debug/pprof/block
|
|||||||
go tool pprof http://122.51.39.132:9090/debug/pprof/trace?seconds=5
|
go tool pprof http://122.51.39.132:9090/debug/pprof/trace?seconds=5
|
||||||
争用互斥持有者的堆栈跟踪
|
争用互斥持有者的堆栈跟踪
|
||||||
go tool pprof http://122.51.39.132:9090/debug/pprof/mutex
|
go tool pprof http://122.51.39.132:9090/debug/pprof/mutex
|
||||||
|
go tool pprof -http=:7778 http://122.51.39.132:9090/debug/pprof/heap
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
UI web 界面
|
UI web 界面
|
||||||
|
@ -211,7 +211,7 @@ func start() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Errorf("start succ!")
|
log.Debugf("start succ!")
|
||||||
}
|
}
|
||||||
|
|
||||||
// 关闭程序
|
// 关闭程序
|
||||||
|
Loading…
Reference in New Issue
Block a user