mirror of
https://github.com/caddyserver/website.git
synced 2025-04-26 06:56:15 -04:00
Fix a few images/links
This commit is contained in:
parent
ddced518a1
commit
0287674362
5 changed files with 9 additions and 9 deletions
|
@ -400,7 +400,7 @@ Bingo. Nearly half of memory is allocated strictly for read and write buffers fr
|
|||
|
||||
If we instead run the `svg` or `web` commands, we'll get a visualization of the profile:
|
||||
|
||||

|
||||

|
||||
|
||||
This is a CPU profile but similar graphs are available for other profile types.
|
||||
|
||||
|
@ -436,7 +436,7 @@ As you can see, we reduced memory allocations by about half!
|
|||
|
||||
Diffs can be visualized, too:
|
||||
|
||||

|
||||

|
||||
|
||||
This makes it really obvious how the changes affected the performance of certain parts of the program.
|
||||
|
||||
|
@ -449,4 +449,4 @@ To really put the "pro" in "profiling", consider these resources:
|
|||
- [pprof Documentation](https://github.com/google/pprof/blob/main/doc/README.md)
|
||||
- [A real-world use of profiles with Caddy](https://github.com/caddyserver/caddy/pull/4978)
|
||||
- [Performance on the Go wiki](https://github.com/golang/go/wiki/Performance)
|
||||
- [The `net/http/pprof` package](https://pkg.go.dev/net/http/pprof)
|
||||
- [The `net/http/pprof` package](https://pkg.go.dev/net/http/pprof)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue