Skip to content

Commit

Permalink
README: Update i9-13900 benchmarks
Browse files Browse the repository at this point in the history
After change to smaller buffers.
  • Loading branch information
Jille committed Oct 15, 2024
1 parent 344ccb8 commit 2c43005
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,25 @@ goos: linux
goarch: amd64
pkg: github.com/bwesterb/go-and
cpu: 13th Gen Intel(R) Core(TM) i9-13900
│ naive │ purego │ asm │
│ sec/op │ sec/op vs base │ sec/op vs base │
And-32 264.51µ ± 6% 64.69µ ± 1% -75.54% (p=0.000 n=10) 24.43µ ± 3% -90.77% (p=0.000 n=10)
Or-32 274.06µ ± 5% 64.89µ ± 2% -76.32% (p=0.000 n=10) 24.30µ ± 1% -91.13% (p=0.000 n=10)
AndNot-32 309.01µ ± 0% 73.10µ ± 1% -76.34% (p=0.000 n=10) 24.52µ ± 2% -92.07% (p=0.000 n=10)
Memset-32 225.74µ ± 4% 56.64µ ± 1% -74.91% (p=0.000 n=10) 15.77µ ± 1% -93.01% (p=0.000 n=10)
Popcnt-32 128.45µ ± 1% 69.35µ ± 0% -46.01% (p=0.000 n=10) 31.80µ ± 3% -75.24% (p=0.000 n=10)
geomean 230.4µ 65.50µ -71.58% 23.59µ -89.76%
│ naive │ purego │ asm │
│ sec/op │ sec/op vs base │ sec/op vs base │
And-32 8162.0n ± 5% 2034.5n ± 1% -75.07% (p=0.000 n=10) 631.2n ± 2% -92.27% (p=0.000 n=10)
Or-32 9751.5n ± 8% 2104.5n ± 3% -78.42% (p=0.000 n=10) 626.4n ± 1% -93.58% (p=0.000 n=10)
Xor-32 8112.5n ± 3% 2029.0n ± 0% -74.99% (p=0.000 n=10) 631.6n ± 1% -92.22% (p=0.000 n=10)
AndNot-32 10685.5n ± 4% 2292.0n ± 2% -78.55% (p=0.000 n=10) 635.2n ± 2% -94.06% (p=0.000 n=10)
Memset-32 167.96µ ± 0% 57.54µ ± 1% -65.74% (p=0.000 n=10) 15.83µ ± 1% -90.57% (p=0.000 n=10)
Popcnt-32 132.15µ ± 1% 71.63µ ± 1% -45.80% (p=0.000 n=10) 33.86µ ± 6% -74.38% (p=0.000 n=10)
geomean 23.13µ 6.592µ -71.50% 2.097µ -90.93%
│ naive │ purego │ asm │
│ B/s │ B/s vs base │ B/s vs base │
And-32 3.521Gi ± 6% 14.397Gi ± 2% +308.89% (p=0.000 n=10) 38.129Gi ± 3% +982.90% (p=0.000 n=10)
Or-32 3.398Gi ± 6% 14.353Gi ± 2% +322.36% (p=0.000 n=10) 38.319Gi ± 1% +1027.60% (p=0.000 n=10)
AndNot-32 3.014Gi ± 0% 12.740Gi ± 1% +322.71% (p=0.000 n=10) 37.988Gi ± 2% +1160.45% (p=0.000 n=10)
Memset-32 4.126Gi ± 3% 16.444Gi ± 1% +298.59% (p=0.000 n=10) 59.051Gi ± 1% +1331.33% (p=0.000 n=10)
Popcnt-32 7.251Gi ± 1% 13.428Gi ± 0% +85.20% (p=0.000 n=10) 29.288Gi ± 3% +303.94% (p=0.000 n=10)
geomean 4.042Gi 14.22Gi +251.80% 39.49Gi +876.93%
And-32 3.651Gi ± 5% 14.649Gi ± 1% +301.20% (p=0.000 n=10) 47.212Gi ± 2% +1193.01% (p=0.000 n=10)
Or-32 3.057Gi ± 8% 14.163Gi ± 3% +363.37% (p=0.000 n=10) 47.580Gi ± 1% +1456.63% (p=0.000 n=10)
Xor-32 3.674Gi ± 3% 14.690Gi ± 0% +299.88% (p=0.000 n=10) 47.190Gi ± 1% +1184.58% (p=0.000 n=10)
AndNot-32 2.789Gi ± 4% 13.003Gi ± 2% +366.21% (p=0.000 n=10) 46.916Gi ± 2% +1582.18% (p=0.000 n=10)
Memset-32 5.545Gi ± 0% 16.187Gi ± 1% +191.91% (p=0.000 n=10) 58.816Gi ± 1% +960.69% (p=0.000 n=10)
Popcnt-32 7.048Gi ± 1% 13.002Gi ± 1% +84.48% (p=0.000 n=10) 27.506Gi ± 6% +290.28% (p=0.000 n=10)
geomean 4.058Gi 14.24Gi +250.89% 44.76Gi +1002.97%
```

### Apple M2 Pro
Expand Down

0 comments on commit 2c43005

Please sign in to comment.