Compare commits

..

2 commits

Author SHA1 Message Date
Felix Geisendörfer
63feabe270
fix broken links (#20)
* fix broken links

* remove non-existing link
2022-10-14 08:23:41 +02:00
Armin Becher
bb9b9ec34f
Add link checker to detect broken links (#18)
Just a suggestion, the link checker would detect broken links via github action. 

Might be helpful for a repo which consists a lot of markdown files.
2022-10-14 08:17:57 +02:00
3 changed files with 21 additions and 3 deletions

18
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,18 @@
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

View file

@ -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](./profiler-labels). The `blockprofilerate` used to create the profile is not included, neither are profiler labels.
``` ```
$ go tool pprof -raw block.pb.gz $ go tool pprof -raw block.pb.gz

View file

@ -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
![block-net](./block-net.png) ![block-net](./block-net.png)
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.