Last active
September 9, 2018 12:46
-
-
Save tmthrgd/66ec98db2596214676e5255edc7206bc to your computer and use it in GitHub Desktop.
Benchmarks for https://github.com/miekg/dns/pull/736
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dnstrace -s 127.0.0.1:8053 -t TXT -n 1000 -c 500 miek.nl | |
Benchmarking 127.0.0.1:8053 via udp with 500 conncurrent requests | |
Total requests: 500000 of 500000 (100.0%) | |
Connection errors: 0 | |
Read/Write errors: 367 | |
DNS success codes: 499633 | |
DNS response codes | |
NOERROR: 499633 | |
Time taken for tests: 9.155908653s | |
Questions per second: 54609.5 | |
DNS timings, 499633 datapoints | |
min: 0s | |
mean: 1.180601ms | |
[+/-sd]: 795.049µs | |
max: 14.680063ms | |
DNS distribution, 499633 datapoints | |
LATENCY | | COUNT | |
+-------------+---------------------------------------------+--------+ | |
131.071µs | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 80231 | |
393.215µs | ▄▄▄▄▄▄▄▄▄▄ | 41170 | |
655.359µs | ▄▄▄ | 14370 | |
917.503µs | ▄▄▄▄▄ | 22144 | |
1.179647ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 178312 | |
1.441791ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 68942 | |
1.703935ms | ▄▄▄▄▄▄ | 26838 | |
1.966079ms | ▄▄▄ | 11255 | |
2.228223ms | ▄▄▄▄ | 17034 | |
2.490367ms | ▄▄▄▄ | 16187 | |
2.752511ms | ▄▄ | 9051 | |
3.014655ms | ▄ | 3979 | |
3.276799ms | ▄ | 2290 | |
3.538943ms | ▄ | 2506 | |
3.801087ms | | 1961 | |
4.063231ms | | 1108 | |
4.325375ms | | 524 | |
4.587519ms | | 558 | |
4.849663ms | | 296 | |
5.111807ms | | 192 | |
5.373951ms | | 122 | |
5.636095ms | | 102 | |
5.898239ms | | 66 | |
6.160383ms | | 51 | |
6.422527ms | | 35 | |
6.684671ms | | 17 | |
6.946815ms | | 16 | |
7.208959ms | | 5 | |
7.471103ms | | 8 | |
7.733247ms | | 11 | |
7.995391ms | | 19 | |
8.257535ms | | 22 | |
8.650751ms | | 41 | |
9.175039ms | | 35 | |
9.699327ms | | 24 | |
10.223615ms | | 24 | |
10.747903ms | | 19 | |
11.272191ms | | 20 | |
11.796479ms | | 16 | |
12.320767ms | | 18 | |
12.845055ms | | 7 | |
13.369343ms | | 6 | |
13.893631ms | | 0 | |
14.417919ms | | 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dnstrace -s 127.0.0.1:8053 -t TXT -n 1000 -c 500 miek.nl | |
Benchmarking 127.0.0.1:8053 via udp with 500 conncurrent requests | |
Total requests: 500000 of 500000 (100.0%) | |
DNS success codes: 500000 | |
DNS response codes | |
NOERROR: 500000 | |
Time taken for tests: 1.661697923s | |
Questions per second: 300897.0 | |
DNS timings, 500000 datapoints | |
min: 0s | |
mean: 1.615068ms | |
[+/-sd]: 980.585µs | |
max: 13.107199ms | |
DNS distribution, 500000 datapoints | |
LATENCY | | COUNT | |
+-------------+---------------------------------------------+-------+ | |
131.071µs | ▄▄▄▄▄▄▄▄ | 12639 | |
393.215µs | ▄▄▄▄▄▄▄▄▄▄▄▄ | 19532 | |
655.359µs | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 62281 | |
917.503µs | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 70984 | |
1.179647ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 50099 | |
1.441791ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 52828 | |
1.703935ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 56020 | |
1.966079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 48729 | |
2.228223ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 38590 | |
2.490367ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 27841 | |
2.752511ms | ▄▄▄▄▄▄▄▄▄▄▄ | 18602 | |
3.014655ms | ▄▄▄▄▄▄▄ | 12068 | |
3.276799ms | ▄▄▄▄▄ | 8728 | |
3.538943ms | ▄▄▄ | 5644 | |
3.801087ms | ▄▄ | 3652 | |
4.063231ms | ▄▄ | 2811 | |
4.325375ms | ▄ | 2171 | |
4.587519ms | ▄ | 1503 | |
4.849663ms | ▄ | 1015 | |
5.111807ms | | 752 | |
5.373951ms | | 566 | |
5.636095ms | | 392 | |
5.898239ms | | 347 | |
6.160383ms | | 406 | |
6.422527ms | | 319 | |
6.684671ms | | 264 | |
6.946815ms | | 129 | |
7.208959ms | | 89 | |
7.471103ms | | 92 | |
7.733247ms | | 207 | |
7.995391ms | | 175 | |
8.257535ms | | 88 | |
8.650751ms | | 128 | |
9.175039ms | | 120 | |
9.699327ms | | 40 | |
10.223615ms | | 14 | |
10.747903ms | | 28 | |
11.272191ms | | 29 | |
11.796479ms | | 18 | |
12.320767ms | | 40 | |
12.845055ms | | 20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ dnstrace -s 127.0.0.1:8053 -t TXT -n 1000 -c 500 miek.nl | |
Benchmarking 127.0.0.1:8053 via udp with 500 conncurrent requests | |
Total requests: 500000 of 500000 (100.0%) | |
DNS success codes: 500000 | |
DNS response codes | |
NOERROR: 500000 | |
Time taken for tests: 1.594297935s | |
Questions per second: 313617.7 | |
DNS timings, 500000 datapoints | |
min: 0s | |
mean: 1.555589ms | |
[+/-sd]: 989.833µs | |
max: 26.214399ms | |
DNS distribution, 500000 datapoints | |
LATENCY | | COUNT | |
+-------------+---------------------------------------------+-------+ | |
131.071µs | ▄▄▄▄▄▄ | 10522 | |
393.215µs | ▄▄▄▄▄▄▄▄▄ | 17563 | |
655.359µs | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 69019 | |
917.503µs | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 81451 | |
1.179647ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 58985 | |
1.441791ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 53253 | |
1.703935ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 50752 | |
1.966079ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 46235 | |
2.228223ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ | 35400 | |
2.490367ms | ▄▄▄▄▄▄▄▄▄▄▄▄▄ | 24498 | |
2.752511ms | ▄▄▄▄▄▄▄▄ | 15720 | |
3.014655ms | ▄▄▄▄▄▄ | 10573 | |
3.276799ms | ▄▄▄ | 6569 | |
3.538943ms | ▄▄ | 4542 | |
3.801087ms | ▄▄ | 3523 | |
4.063231ms | ▄ | 2755 | |
4.325375ms | ▄ | 2033 | |
4.587519ms | ▄ | 1401 | |
4.849663ms | | 828 | |
5.111807ms | | 772 | |
5.373951ms | | 611 | |
5.636095ms | | 567 | |
5.898239ms | | 456 | |
6.160383ms | | 310 | |
6.422527ms | | 171 | |
6.684671ms | | 169 | |
6.946815ms | | 197 | |
7.208959ms | | 321 | |
7.471103ms | | 237 | |
7.733247ms | | 86 | |
7.995391ms | | 38 | |
8.257535ms | | 24 | |
8.650751ms | | 48 | |
9.175039ms | | 57 | |
9.699327ms | | 42 | |
10.223615ms | | 20 | |
10.747903ms | | 6 | |
11.272191ms | | 14 | |
11.796479ms | | 30 | |
12.320767ms | | 24 | |
12.845055ms | | 29 | |
13.369343ms | | 10 | |
13.893631ms | | 6 | |
14.417919ms | | 9 | |
14.942207ms | | 7 | |
15.466495ms | | 12 | |
15.990783ms | | 11 | |
16.515071ms | | 8 | |
17.301503ms | | 21 | |
18.350079ms | | 8 | |
19.398655ms | | 15 | |
20.447231ms | | 13 | |
21.495807ms | | 9 | |
22.544383ms | | 6 | |
23.592959ms | | 6 | |
24.641535ms | | 3 | |
25.690111ms | | 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment