summaryrefslogtreecommitdiff
path: root/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi')
-rw-r--r--gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi16
1 files changed, 8 insertions, 8 deletions
diff --git a/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi b/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi
index 8a6fd6cc..af39c57e 100644
--- a/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi
+++ b/gemfeed/2025-04-05-f3s-kubernetes-with-freebsd-part-4.gmi
@@ -336,7 +336,7 @@ func BenchmarkCPUSilly2(b *testing.B) {
You can find the repository here:
-=> https://codeberg.org/snonux/sillybench
+=> https://github.com/snonux/sillybench
### Silly FreeBSD host benchmark
@@ -345,7 +345,7 @@ To install it on FreeBSD, we run:
```sh
paul@f0:~ % doas pkg install git go
paul@f0:~ % mkdir ~/git && cd ~/git && \
- git clone https://codeberg.org/snonux/sillybench && \
+ git clone https://github.com/snonux/sillybench && \
cd sillybench
```
@@ -358,12 +358,12 @@ go version go1.24.1 freebsd/amd64
paul@f0:~/git/sillybench % go test -bench=.
goos: freebsd
goarch: amd64
-pkg: codeberg.org/snonux/sillybench
+pkg: github.com/snonux/sillybench
cpu: Intel(R) N100
BenchmarkCPUSilly1-4 1000000000 0.4022 ns/op
BenchmarkCPUSilly2-4 1000000000 0.4027 ns/op
PASS
-ok codeberg.org/snonux/sillybench 0.891s
+ok github.com/snonux/sillybench 0.891s
```
### Silly Rocky Linux VM @ Bhyve benchmark
@@ -373,7 +373,7 @@ OK, let's compare this with the Rocky Linux VM running on Bhyve:
```sh
[root@r0 ~]# dnf install golang git
[root@r0 ~]# mkdir ~/git && cd ~/git && \
- git clone https://codeberg.org/snonux/sillybench && \
+ git clone https://github.com/snonux/sillybench && \
cd sillybench
````
@@ -385,7 +385,7 @@ go version go1.22.9 (Red Hat 1.22.9-2.el9_5) linux/amd64
[root@r0 sillybench]# go test -bench=.
goos: linux
goarch: amd64
-pkg: codeberg.org/snonux/sillybench
+pkg: github.com/snonux/sillybench
cpu: Intel(R) N100
BenchmarkCPUSilly1-4 1000000000 0.4347 ns/op
BenchmarkCPUSilly2-4 1000000000 0.4345 ns/op
@@ -403,12 +403,12 @@ But here are the results running the same silly benchmark in a FreeBSD Bhyve VM
root@freebsd:~/git/sillybench # go test -bench=.
goos: freebsd
goarch: amd64
-pkg: codeberg.org/snonux/sillybench
+pkg: github.com/snonux/sillybench
cpu: Intel(R) N100
BenchmarkCPUSilly1 1000000000 0.4273 ns/op
BenchmarkCPUSilly2 1000000000 0.4286 ns/op
PASS
-ok codeberg.org/snonux/sillybench 0.949s
+ok github.com/snonux/sillybench 0.949s
```
It's a bit better than Linux! I am sure that this is not really a scientific benchmark, so take the results with a grain of salt!