You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can calculate the median absolute deviation without re-sorting. The
code is a bit more complicated, but it does seem to be a win for the
benchmark.
```
goos: darwin
goarch: arm64
cpu: Apple M1 Pro
│ before.txt │ after.txt │
│ sec/op │ sec/op vs base │
VerifyClockOffset 101.90µ ± 2% 84.69µ ± 20% -16.88% (p=0.009 n=20)
│ before.txt │ after.txt │
│ B/op │ B/op vs base │
VerifyClockOffset 16.10Ki ± 0% 16.07Ki ± 0% -0.19% (p=0.000 n=20)
│ before.txt │ after.txt │
│ allocs/op │ allocs/op vs base │
VerifyClockOffset 1.000 ± 0% 1.000 ± 0% ~ (p=1.000 n=20) ¹
¹ all samples are equal
```
Epic: none
Release note: None
0 commit comments