mirror of
https://github.com/DataDog/go-profiler-notes.git
synced 2026-06-26 19:36:50 +08:00
Compare commits
No commits in common. "63feabe2709ffe4a5b25225f9f271811f8e93cf9" and "b82d25329fa981091b9afe6ed1f40ce9b6150bfd" have entirely different histories.
63feabe270
...
b82d25329f
3 changed files with 3 additions and 21 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -1,18 +0,0 @@
|
||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check-links:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@main
|
|
||||||
- name: Markup Link Checker (mlc)
|
|
||||||
uses: becheran/mlc@v0.15.4
|
|
||||||
with:
|
|
||||||
args: --no-web-links
|
|
||||||
2
block.md
2
block.md
|
|
@ -166,7 +166,7 @@ Below is an example of block profile encoded in [pprof's protobuf format](./ppro
|
||||||
- contentions/count
|
- contentions/count
|
||||||
- delay/nanoseconds
|
- delay/nanoseconds
|
||||||
|
|
||||||
The `blockprofilerate` used to create the profile is not included, neither are profiler labels.
|
The `blockprofilerate` used to create the profile is not included, neither are [profiler labels](./profiler-labels).
|
||||||
|
|
||||||
```
|
```
|
||||||
$ go tool pprof -raw block.pb.gz
|
$ go tool pprof -raw block.pb.gz
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# block-net
|
# block-net
|
||||||
|
|
||||||
This [program](./main.go) explores the [question](https://twitter.com/rogpeppe/status/1359202847708037124) whether network i/o (e.g. waiting on socket read/write operations) will show up in the [block profiler](../../block.md) or not.
|
This [program](./main.go) explores the [question](https://twitter.com/rogpeppe/status/1359202847708037124) whether network i/o (e.g. waiting on socket read/write operations) will show up in the [block profiler](/block.md) or not.
|
||||||
|
|
||||||
The program does the following:
|
The program does the following:
|
||||||
|
|
||||||
|
|
@ -22,5 +22,5 @@ However, as you can see below, the block profiler [captures](./block.pb.gz) only
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
This means that [block profiler](../../block.md) is generally not able to give a good idea about goroutines that are waiting on network i/o.
|
This means that [block profiler](/block.md) is generally not able to give a good idea about goroutines that are waiting on network i/o.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue