package
Version:
v0.0.0-...-1f59db8
Opens a new window with list of versions in this module.
Published: Feb 20, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
multi-profile
-
Run application
go run main.go
-
Use Vegeta to generate some traffic
echo "GET http://localhost:8080" | vegeta attack -duration=30s
-
Use pprof tool to visualise profiling
PDF
go tool pprof --pdf cpu.prof > cpu.pdf
go tool pprof --pdf mem.prof > mem.pdf
go tool pprof --pdf goroutine.prof > goroutine.pdf
browser
go tool pprof --web cpu.prof
go tool pprof --web mem.prof
go tool pprof --web goroutine.prof
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.