Commit 31ccde0
committed
device: remove atomic pointer to next and rely on lock
name old time/op new time/op delta
TrieIPv4Peers100Addresses1000-32 83.5ns ± 0% 89.0ns ± 0% ~ (p=1.000 n=1+1)
TrieIPv4Peers10Addresses10-32 33.6ns ± 0% 33.3ns ± 0% ~ (p=1.000 n=1+1)
TrieIPv6Peers100Addresses1000-32 83.3ns ± 0% 82.7ns ± 0% ~ (p=1.000 n=1+1)
TrieIPv6Peers10Addresses10-32 33.5ns ± 0% 33.4ns ± 0% ~ (p=1.000 n=1+1)
Latency-32 216µs ± 0% 211µs ± 0% ~ (p=1.000 n=1+1)
Throughput-32 2.31µs ± 0% 2.25µs ± 0% ~ (p=1.000 n=1+1)
UAPIGet-32 2.28µs ± 0% 2.12µs ± 0% ~ (p=1.000 n=1+1)
WaitPool-32 4.18µs ± 0% 4.06µs ± 0% ~ (p=1.000 n=1+1)
name old packet-loss new packet-loss delta
Throughput-32 0.00 ± 0% 0.00 ± 0% ~ (p=1.000 n=1+1)
name old alloc/op new alloc/op delta
UAPIGet-32 224B ± 0% 224B ± 0% ~ (all equal)
name old allocs/op new allocs/op delta
UAPIGet-32 17.0 ± 0% 17.0 ± 0% ~ (all equal)1 parent 1e2c3e5 commit 31ccde0
4 files changed
Lines changed: 12 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
611 | | - | |
612 | | - | |
613 | 610 | | |
614 | 611 | | |
615 | | - | |
| 612 | + | |
616 | 613 | | |
617 | 614 | | |
618 | 615 | | |
619 | 616 | | |
620 | 617 | | |
621 | | - | |
622 | | - | |
| 618 | + | |
| 619 | + | |
623 | 620 | | |
624 | 621 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
| 235 | + | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
| |||
0 commit comments