-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail on arches ppc64le, aarch64 and s390x #249
Comments
Getting the similar issue on s390x for jpmorganchase/quorum with Go. |
name old time/op new time/op delta SampleCalc4K/SampleSum-4 2.07µs ± 6% 0.25µs ± 3% -88.07% (p=0.100 n=3+3) SampleCalc4K/SampleMax-4 2.79µs ± 4% 0.71µs ± 1% -74.50% (p=0.100 n=3+3) SampleCalc4K/SampleMin-4 2.73µs ± 1% 0.70µs ± 1% -74.34% (p=0.100 n=3+3) SampleCalc4K/SampleMean-4 1.99µs ± 2% 0.24µs ± 1% -87.73% (p=0.100 n=3+3) SampleCalc4K/SampleStdDev-4 6.16µs ± 1% 4.09µs ± 4% -33.52% (p=0.100 n=3+3) SampleCalc4K/SampleVariance-4 6.10µs ± 2% 4.03µs ± 2% -33.93% (p=0.100 n=3+3) SampleCalc4K/SamplePercentile-4 222µs ± 1% 215µs ± 1% -2.78% (p=0.100 n=3+3)
I have observed this too, on aarch64. I believe this is an example of a precision error: |
I took the liberty of cherry-picking @lrita 's fixes to the precisions checks from bb326cd into https://salsa.debian.org/go-team/packages/golang-github-rcrowley-go-metrics/-/blob/master/debian/patches/precision.patch and uploaded it to debian/unstable to fix http://bugs.debian.org/976543 to prevent other unrelated package from falling out of the next Debian release @lrita I stripped out your optimiziations because I'm not entirely compfortable / familiar enough with the code base to assess their implications fully. Maybe your might would be easier to review if it the precision fixes were kept in a separate PR from the assembler optimizations? |
Nice I was ready to implement this to patch the debian bug and removal. |
I filed a similar bug last year in VividCortex/ewma#14
Probably the same rounding issue.
The text was updated successfully, but these errors were encountered: