mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 13:23:09 +01:00
Bump github.com/pkg/profile from 1.5.0 to 1.6.0 (#363)
* Bump github.com/pkg/profile from 1.5.0 to 1.6.0 Bumps [github.com/pkg/profile](https://github.com/pkg/profile) from 1.5.0 to 1.6.0. - [Release notes](https://github.com/pkg/profile/releases) - [Commits](https://github.com/pkg/profile/compare/v1.5.0...v1.6.0) Signed-off-by: dependabot[bot] <support@github.com> * Update go modules * Fix signature Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -90,9 +90,9 @@ func main() {
|
||||
case "mem":
|
||||
defer profile.Start(profile.MemProfile, profilePath).Stop()
|
||||
case "alloc":
|
||||
defer profile.Start(profile.MemProfile, profile.MemProfileAllocs(), profilePath).Stop()
|
||||
defer profile.Start(profile.MemProfileAllocs, profilePath).Stop()
|
||||
case "heap":
|
||||
defer profile.Start(profile.MemProfile, profile.MemProfileHeap(), profilePath).Stop()
|
||||
defer profile.Start(profile.MemProfileHeap, profilePath).Stop()
|
||||
case "routines":
|
||||
defer profile.Start(profile.GoroutineProfile, profilePath).Stop()
|
||||
case "mutex":
|
||||
|
||||
Reference in New Issue
Block a user