6
84
Fork
You've already forked dns
39

Play with quic a bit #832

Open
miekg wants to merge 1 commit from miek/26/mrt09ma/17 into main
pull from: miek/26/mrt09ma/17
merge into: miekg:main
miekg:main
miekg:miek/26/jun24wo/14
miekg:miek/26/mrt24di/tls
miekg:miek/26/feb15zo/13
miekg:miek/zo-07-dec-25/gslb1
miekg:miek/2025-10-26@1431
miekg:miek/2025-10-18@2017
Owner
Copy link
No description provided.
Play with quic a bit
All checks were successful
/ test (pull_request) Successful in 2m33s
/ test (push) Successful in 2m33s
900ffe970b
Signed-off-by: Miek Gieben <miek@miek.nl>

This benchmark shows the difference in performance against the baseline.
The results may vary if the machine was under (heavy) load.

06:14:50 up 28 days, 19:56, 0 user, load average: 6.05, 2.34, 0.88
=== RUN TestReflect
=== RUN TestReflect/reflect-udp
goos: linux
goarch: amd64
pkg: codeberg.org/miekg/dns
BenchmarkDNSPerfudp-4	79199			12626.3 ns/op
BenchmarkDNSPerfudp-4	77615			12884.1 ns/op
BenchmarkDNSPerfudp-4	81507			12268.8 ns/op
BenchmarkDNSPerfudp-4	77376			12923.8 ns/op
BenchmarkDNSPerfudp-4	80368			12442.7 ns/op
BenchmarkDNSPerfudp-4	72180			13854.1 ns/op
BenchmarkDNSPerfudp-4	77409			12918.3 ns/op
BenchmarkDNSPerfudp-4	86083			11616.6 ns/op
 reflect_test.go:43: canceled executing: udp
=== RUN TestReflect/reflect-tcp
goos: linux
goarch: amd64
pkg: codeberg.org/miekg/dns
BenchmarkDNSPerftcp-4	74260			13466.1 ns/op
BenchmarkDNSPerftcp-4	75642			13220.2 ns/op
BenchmarkDNSPerftcp-4	74651			13395.7 ns/op
BenchmarkDNSPerftcp-4	74745			13378.7 ns/op
BenchmarkDNSPerftcp-4	77225			12949.1 ns/op
BenchmarkDNSPerftcp-4	75920			13171.7 ns/op
BenchmarkDNSPerftcp-4	69973			14291.1 ns/op
BenchmarkDNSPerftcp-4	79139			12635.8 ns/op
 reflect_test.go:43: canceled executing: tcp
--- PASS: TestReflect (34.17s)
 --- PASS: TestReflect/reflect-udp (17.09s)
 --- PASS: TestReflect/reflect-tcp (17.08s)
PASS
ok 	codeberg.org/miekg/dns/cmd/reflect	34.170s
goos: linux
goarch: amd64
pkg: codeberg.org/miekg/dns
 │ amd64/atoom-tiny/old.txt │ amd64/atoom-tiny/new.txt │
 │ sec/op │ sec/op vs base │
DNSPerfudp-4 7.119μ ± 4% 12.755μ ± 9% +79.18% (p=0.000 n=8)
DNSPerftcp-4 8.783μ ± 3% 13.299μ ± 5% +51.43% (p=0.000 n=8)
geomean 7.907μ 13.02μ +64.72%
This benchmark shows the difference in performance against the baseline. The results may vary if the machine was under (heavy) load. ~~~ 06:14:50 up 28 days, 19:56, 0 user, load average: 6.05, 2.34, 0.88 === RUN TestReflect === RUN TestReflect/reflect-udp goos: linux goarch: amd64 pkg: codeberg.org/miekg/dns BenchmarkDNSPerfudp-4 79199 12626.3 ns/op BenchmarkDNSPerfudp-4 77615 12884.1 ns/op BenchmarkDNSPerfudp-4 81507 12268.8 ns/op BenchmarkDNSPerfudp-4 77376 12923.8 ns/op BenchmarkDNSPerfudp-4 80368 12442.7 ns/op BenchmarkDNSPerfudp-4 72180 13854.1 ns/op BenchmarkDNSPerfudp-4 77409 12918.3 ns/op BenchmarkDNSPerfudp-4 86083 11616.6 ns/op reflect_test.go:43: canceled executing: udp === RUN TestReflect/reflect-tcp goos: linux goarch: amd64 pkg: codeberg.org/miekg/dns BenchmarkDNSPerftcp-4 74260 13466.1 ns/op BenchmarkDNSPerftcp-4 75642 13220.2 ns/op BenchmarkDNSPerftcp-4 74651 13395.7 ns/op BenchmarkDNSPerftcp-4 74745 13378.7 ns/op BenchmarkDNSPerftcp-4 77225 12949.1 ns/op BenchmarkDNSPerftcp-4 75920 13171.7 ns/op BenchmarkDNSPerftcp-4 69973 14291.1 ns/op BenchmarkDNSPerftcp-4 79139 12635.8 ns/op reflect_test.go:43: canceled executing: tcp --- PASS: TestReflect (34.17s) --- PASS: TestReflect/reflect-udp (17.09s) --- PASS: TestReflect/reflect-tcp (17.08s) PASS ok codeberg.org/miekg/dns/cmd/reflect 34.170s ~~~ ~~~ goos: linux goarch: amd64 pkg: codeberg.org/miekg/dns │ amd64/atoom-tiny/old.txt │ amd64/atoom-tiny/new.txt │ │ sec/op │ sec/op vs base │ DNSPerfudp-4 7.119μ ± 4% 12.755μ ± 9% +79.18% (p=0.000 n=8) DNSPerftcp-4 8.783μ ± 3% 13.299μ ± 5% +51.43% (p=0.000 n=8) geomean 7.907μ 13.02μ +64.72% ~~~
All checks were successful
/ test (pull_request) Successful in 2m33s
/ test (push) Successful in 2m33s
This pull request has changes conflicting with the target branch.
  • msg.go
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin miek/26/mrt09ma/17:miek/26/mrt09ma/17
git switch miek/26/mrt09ma/17

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff miek/26/mrt09ma/17
git switch miek/26/mrt09ma/17
git rebase main
git switch main
git merge --ff-only miek/26/mrt09ma/17
git switch miek/26/mrt09ma/17
git rebase main
git switch main
git merge --no-ff miek/26/mrt09ma/17
git switch main
git merge --squash miek/26/mrt09ma/17
git switch main
git merge --ff-only miek/26/mrt09ma/17
git switch main
git merge miek/26/mrt09ma/17
git push origin main
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miekg/dns!832
Reference in a new issue
miekg/dns
No description provided.
Delete branch "miek/26/mrt09ma/17"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?