mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-12 19:23:41 +08:00
90f3365d93
fgprof is a sampling Go profiler that allows you to analyze On-CPU as well as Off-CPU (e.g. I/O) time together. Go's builtin sampling CPU profiler can only show On-CPU time, but it's better than fgprof at that. Go also includes tracing profilers that can analyze I/O, but they can't be combined with the CPU profiler. fgprof is designed for analyzing applications with mixed I/O and CPU workloads. This kind of profiling is also known as wall-clock profiling. Whilst fgprof can cause significant STW latencies in applications with a lot of goroutines (> 1-10k), these latencies only occur if the profile is requested - it doesn't cause a delay by simply being available. The fgprof profile is mounted on `http://localhost:6060/debug/fgprof?seconds=3` Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
admin_auth_ldap_test.go | ||
admin_auth_ldap.go | ||
admin.go | ||
cert.go | ||
cmd.go | ||
convert.go | ||
docs.go | ||
doctor.go | ||
dump_repo.go | ||
dump.go | ||
embedded_stub.go | ||
embedded.go | ||
generate.go | ||
hook_test.go | ||
hook.go | ||
keys.go | ||
mailer.go | ||
manager_logging.go | ||
manager.go | ||
migrate_storage.go | ||
migrate.go | ||
restore_repo.go | ||
serv.go | ||
web_acme.go | ||
web_graceful.go | ||
web_https.go | ||
web.go |