You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/cmd
zeripath 90f3365d93
Add fgprof pprof profiler (#20005)
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>
3 years ago
..
admin.go Move some repository related code into sub package (#19711) 3 years ago
admin_auth_ldap.go Add LDAP group sync to Teams, fixes #1395 (#16299) 3 years ago
admin_auth_ldap_test.go format with gofumpt (#18184) 3 years ago
cert.go format with gofumpt (#18184) 3 years ago
cmd.go fix: some typos (#19956) 3 years ago
convert.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
docs.go Fix offBy1 errors (#17606) 3 years ago
doctor.go Don't buffer doctor logger (#19982) 3 years ago
dump.go Allow package dump skipping (#19506) 3 years ago
dump_repo.go format with gofumpt (#18184) 3 years ago
embedded.go Remove legacy `+build:` constraint (#19582) 3 years ago
embedded_stub.go Remove legacy `+build:` constraint (#19582) 3 years ago
generate.go Add asymmetric JWT signing (#16010) 4 years ago
hook.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 3 years ago
hook_test.go Add agit flow support in gitea (#14295) 4 years ago
keys.go Second attempt at preventing zombies (#16326) 4 years ago
mailer.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
manager.go Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
manager_logging.go Remove legacy `unknwon/com` package (#19298) 3 years ago
migrate.go Improve install code to avoid low-level mistakes. (#17779) 3 years ago
migrate_storage.go Move some code into models/git (#19879) 3 years ago
restore_repo.go Fix cli command restore-repo: "units" should be parsed as StringSlice (#19953) 3 years ago
serv.go Move some code into models/git (#19879) 3 years ago
web.go Add fgprof pprof profiler (#20005) 3 years ago
web_acme.go Update go deps (#19665) 3 years ago
web_graceful.go Make SSL cipher suite configurable (#17440) 3 years ago
web_https.go Add user settings key/value DB table (#16834) 3 years ago