Skip to main content
Version: 0.5

Xisto vs Go

Go has no community PolyBench port, so its side is a line-by-line transliteration of the C (bench/polybench/go), reviewed against it, with slices of slices ([][]float64) like Xisto's number[][], built with Go 1.27. Kernel time is PolyBench's own timer around the kernel, the same region in every port; CPU is the whole process's user + system time; memory is peak RSS. LARGE dataset, median of 3 runs (10 for kernels under 50 ms). Every run's array dump hashes the same as the C reference's. Round of main 40cdc16, 14 Nov 2026; kernels marked ² were close in the round and re-measured with the four sides interleaved in one invocation (median of 3 × 10 runs): their kernel times are the interleaved ones.

Xeon E5-2686 v4 (x86-64, 2 vCPUs, AVX2)​

Kernel time: Xisto 30 wins, 0 ties, 0 losses (a tie is within 3%). The winner of each column pair (kernel time, CPU, memory) is in bold when ahead by more than 3%; C is the reference, not scored.

Xeon E5-2686 v4: Go's time ÷ Xisto's, per kernel (above 1× Xisto is faster)
110100doitgen17×correlation9.61×covariance9.50×2mm9.42×3mm9.14×trmm8.51×seidel-2d6.47×mvt5.83×lu4.91×gramschmidt4.55×gemver4.40×syr2k3.98×heat-3d3.77×floyd-warshall3.55×jacobi-2d3.15×jacobi-1d3.00×deriche2.85×gemm2.67×ludcmp2.65×adi2.50×fdtd-2d²2.46×symm2.45×nussinov2.27×atax²2.25×cholesky2.24×bicg2.00×gesummv2.00×syrk1.92×trisolv1.75×durbin²1.25×

30 of 30 kernels more than 3% faster in Xisto (accent); grey within 3% or slower. Log scale: each step is ten times the one before. Every value is in the table below.

Xeon E5-2686 v4: Go's peak memory ÷ Xisto's, per kernel (above 1× Xisto uses less)
00.511.5jacobi-1d1.11×durbin²1.05×gesummv1.02×syrk1.01×fdtd-2d²1.01×gemm1.01×jacobi-2d1.01×symm1.01×2mm1.01×gramschmidt1.01×syr2k1.01×atax²1.01×mvt1.01×gemver1.01×ludcmp1.01×correlation1.01×cholesky1.01×lu1.01×bicg1.01×seidel-2d1.01×adi1.01×3mm1.01×covariance1.00×floyd-warshall1.00×nussinov1.00×deriche0.99×trmm0.98×doitgen0.97×heat-3d0.92×trisolv0.74×

Peak RSS of each run. The dashed line is 1×, the same memory.

kernelC (ref.) kernelXisto kernelGo kernelratioXisto CPUGo CPUXisto memoryGo memoryfaster
2mm2.73 s620 ms5.84 s0.110.65 s5.90 s37.4 MB37.8 MBXisto
3mm4.28 s1.04 s9.51 s0.111.09 s9.58 s53.2 MB53.5 MBXisto
adi12.44 s6.28 s15.72 s0.406.30 s15.79 s32.8 MB33.0 MBXisto
atax²7 ms8 ms18 ms0.440.04 s0.05 s32.4 MB32.7 MBXisto
bicg14 ms7 ms14 ms0.500.04 s0.04 s32.5 MB32.7 MBXisto
cholesky2.00 s1.98 s4.43 s0.458.04 s31.45 s63.0 MB63.4 MBXisto
correlation7.19 s724 ms6.96 s0.100.75 s6.99 s25.8 MB26.0 MBXisto
covariance7.19 s742 ms7.05 s0.110.76 s7.09 s25.9 MB26.0 MBXisto
deriche463 ms165 ms470 ms0.350.27 s0.51 s138.5 MB137.5 MBXisto
doitgen740 ms97 ms1.66 s0.060.12 s1.69 s29.0 MB28.0 MBXisto
durbin²4 ms4 ms5 ms0.800.00 s0.01 s1.9 MB2.0 MBXisto
fdtd-2d²1.63 s1.62 s3.98 s0.411.68 s4.00 s29.5 MB29.9 MBXisto
floyd-warshall18.10 s10.46 s37.13 s0.2810.51 s37.32 s32.0 MB32.0 MBXisto
gemm444 ms434 ms1.16 s0.380.46 s1.19 s29.6 MB30.0 MBXisto
gemver29 ms10 ms44 ms0.230.04 s0.08 s32.6 MB32.9 MBXisto
gesummv6 ms3 ms6 ms0.500.03 s0.03 s27.7 MB28.2 MBXisto
gramschmidt7.21 s1.40 s6.37 s0.221.43 s6.42 s31.4 MB31.7 MBXisto
heat-3d1.88 s1.79 s6.75 s0.271.81 s6.80 s31.2 MB28.7 MBXisto
jacobi-1d1 ms1 ms3 ms0.330.00 s0.00 s1.8 MB2.0 MBXisto
jacobi-2d1.30 s1.24 s3.91 s0.321.27 s3.95 s27.9 MB28.2 MBXisto
lu5.50 s2.10 s10.31 s0.208.11 s38.28 s63.0 MB63.4 MBXisto
ludcmp5.24 s2.23 s5.91 s0.388.24 s32.68 s63.0 MB63.5 MBXisto
mvt25 ms6 ms35 ms0.170.04 s0.07 s32.5 MB32.8 MBXisto
nussinov4.13 s4.08 s9.26 s0.444.10 s9.31 s26.0 MB26.0 MBXisto
seidel-2d27.68 s4.85 s31.38 s0.154.87 s31.51 s32.5 MB32.7 MBXisto
symm1.98 s1.12 s2.74 s0.411.14 s2.77 s28.0 MB28.3 MBXisto
syr2k4.24 s1.07 s4.26 s0.251.10 s4.31 s31.4 MB31.7 MBXisto
syrk648 ms553 ms1.06 s0.520.57 s1.09 s22.1 MB22.4 MBXisto
trisolv3 ms4 ms7 ms0.570.03 s0.03 s32.5 MB24.2 MBXisto
trmm1.79 s275 ms2.34 s0.120.29 s2.36 s18.7 MB18.3 MBXisto

Graviton2 (Neoverse N1, arm64, 2 vCPUs)​

Kernel time: Xisto 30 wins, 0 ties, 0 losses (a tie is within 3%). The winner of each column pair (kernel time, CPU, memory) is in bold when ahead by more than 3%; C is the reference, not scored.

Graviton2: Go's time ÷ Xisto's, per kernel (above 1× Xisto is faster)
02468doitgen7.70×gemm²7.63×trmm6.82×3mm5.87×2mm5.70×gramschmidt5.29×floyd-warshall4.33×jacobi-1d4.00×covariance3.78×correlation3.76×bicg3.75×seidel-2d3.56×atax3.17×syrk3.07×jacobi-2d3.01×gesummv3.00×mvt2.92×cholesky2.83×lu2.70×gemver2.55×fdtd-2d2.51×syr2k2.45×heat-3d2.42×trisolv2.33×nussinov2.31×durbin2.00×deriche1.87×ludcmp1.70×adi1.51×symm1.25×

30 of 30 kernels more than 3% faster in Xisto (accent); grey within 3% or slower. The dashed line is 1×, the same time. Every value is in the table below.

Graviton2: Go's peak memory ÷ Xisto's, per kernel (above 1× Xisto uses less)
00.511.5durbin1.46×jacobi-1d1.38×gesummv1.03×gemver1.02×syrk1.02×atax1.02×fdtd-2d1.02×correlation1.02×covariance1.02×seidel-2d1.02×mvt1.02×jacobi-2d1.02×gemm²1.02×gramschmidt1.02×syr2k1.02×nussinov1.02×bicg1.02×symm1.01×2mm1.01×ludcmp1.01×cholesky1.01×lu1.01×floyd-warshall1.01×3mm1.01×adi1.01×trmm0.99×deriche0.99×doitgen0.96×heat-3d0.93×trisolv0.75×

Peak RSS of each run. The dashed line is 1×, the same memory.

kernelC (ref.) kernelXisto kernelGo kernelratioXisto CPUGo CPUXisto memoryGo memoryfaster
2mm6.21 s1.68 s9.58 s0.171.71 s9.59 s37.1 MB37.6 MBXisto
3mm10.11 s2.97 s17.44 s0.173.02 s17.55 s53.0 MB53.5 MBXisto
adi12.12 s10.35 s15.64 s0.6610.37 s15.72 s32.5 MB32.8 MBXisto
atax6 ms6 ms19 ms0.320.03 s0.05 s31.9 MB32.6 MBXisto
bicg14 ms4 ms15 ms0.270.03 s0.05 s32.1 MB32.6 MBXisto
cholesky1.88 s1.58 s4.47 s0.3513.88 s43.23 s62.7 MB63.3 MBXisto
correlation7.55 s2.06 s7.75 s0.272.08 s7.79 s25.4 MB25.9 MBXisto
covariance7.43 s2.05 s7.75 s0.262.06 s7.79 s25.4 MB25.9 MBXisto
deriche330 ms195 ms364 ms0.540.27 s0.42 s139.4 MB137.5 MBXisto
doitgen657 ms209 ms1.61 s0.130.23 s1.64 s29.2 MB27.9 MBXisto
durbin3 ms3 ms6 ms0.500.00 s0.01 s1.3 MB1.9 MBXisto
fdtd-2d1.78 s1.90 s4.76 s0.401.93 s4.81 s29.1 MB29.7 MBXisto
floyd-warshall23.08 s14.01 s60.72 s0.2314.09 s61.06 s31.6 MB31.9 MBXisto
gemm²642 ms633 ms4.83 s0.130.67 s4.86 s29.3 MB29.8 MBXisto
gemver39 ms20 ms51 ms0.390.05 s0.08 s32.1 MB32.9 MBXisto
gesummv6 ms2 ms6 ms0.330.02 s0.03 s27.3 MB28.1 MBXisto
gramschmidt13.25 s2.61 s13.80 s0.192.63 s13.89 s30.9 MB31.4 MBXisto
heat-3d3.50 s3.66 s8.84 s0.413.69 s8.90 s30.7 MB28.6 MBXisto
jacobi-1d1 ms1 ms4 ms0.250.00 s0.01 s1.3 MB1.8 MBXisto
jacobi-2d1.96 s1.96 s5.89 s0.331.98 s5.94 s27.4 MB27.9 MBXisto
lu12.41 s5.22 s14.10 s0.3717.56 s53.19 s62.7 MB63.3 MBXisto
ludcmp10.48 s5.16 s8.76 s0.5917.78 s47.53 s62.6 MB63.3 MBXisto
mvt35 ms13 ms38 ms0.340.04 s0.07 s32.1 MB32.7 MBXisto
nussinov9.91 s7.72 s17.80 s0.437.73 s17.89 s25.5 MB25.9 MBXisto
seidel-2d20.61 s6.86 s24.45 s0.286.89 s24.57 s32.0 MB32.6 MBXisto
symm4.58 s4.25 s5.31 s0.804.27 s5.36 s27.8 MB28.2 MBXisto
syr2k5.98 s2.74 s6.71 s0.412.77 s6.74 s31.1 MB31.6 MBXisto
syrk2.02 s1.06 s3.25 s0.331.08 s3.28 s21.7 MB22.2 MBXisto
trisolv3 ms3 ms7 ms0.430.02 s0.02 s32.0 MB24.1 MBXisto
trmm3.90 s650 ms4.43 s0.150.66 s4.46 s18.2 MB18.1 MBXisto

Notes​

  • Go's compiler does not vectorize nor unroll-and-jam loops, and it keeps bounds checks it cannot prove away, which is most of the distance on the matrix kernels.
  • Go is not ahead of Xisto on any kernel here.

Raw output: bench/results/polybench-2026-11-14.