Skip to main content
Version: 0.4

Xisto vs Bun

The same TypeScript file runs on both sides: bench/polybench/ts/KERNEL.ts is compiled by Xisto and run as is by Bun 1.4.4 (bun KERNEL.ts, which strips the type annotations). So this page compares a native compiler with a JIT on identical source code, with number[][] arrays on both sides. 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. Every run's array dump hashes the same as the C reference's.

The Bun runs are from 15 Nov 2026 (Bun 1.4.4). The Xisto side is the release that fixes a 4–5× slowdown of gemm found in that round (an array-hole check that had moved into the innermost loop): on the Xeon c53e83d, on the Graviton2 c5748f6 (the same arm64 code), measured in the A/B before the merge. Result files: bench/results/polybench-2026-11-15-js/.

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: Bun's time ÷ Xisto's, per kernel (above 1× Xisto is faster)
110100gramschmidt25×trmm24×doitgen22×covariance20×correlation20×2mm20×3mm19×mvt13×syr2k12×lu11×ludcmp11×symm9.17×gemver8.80×gemm8.21×deriche6.59×syrk6.52×seidel-2d6.51×jacobi-1d6.00×fdtd-2d4.57×heat-3d4.31×jacobi-2d3.81×adi3.71×nussinov3.47×floyd-warshall3.37×gesummv3.33×bicg3.29×durbin3.25×trisolv2.67×atax2.57×cholesky1.42×

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: Bun's peak memory ÷ Xisto's, per kernel (above 1× Xisto uses less)
051015durbin13×jacobi-1d12×trmm2.32×doitgen2.23×syrk2.14×correlation2.07×heat-3d2.04×jacobi-2d2.01×gesummv2.00×covariance2.00×gemm1.98×nussinov1.96×fdtd-2d1.95×adi1.92×atax1.91×symm1.91×gramschmidt1.86×syr2k1.82×2mm1.78×gemver1.78×floyd-warshall1.77×bicg1.76×mvt1.74×seidel-2d1.70×trisolv1.70×3mm1.63×ludcmp1.44×lu1.44×cholesky1.43×deriche1.38×

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

kernelC (ref.) kernelXisto kernelBun kernelratioXisto CPUBun CPUXisto memoryBun memoryfaster
2mm2.72 s628 ms12.69 s0.050.66 s12.83 s37.4 MB66.6 MBXisto
3mm4.22 s1.02 s19.22 s0.051.06 s19.45 s53.3 MB86.9 MBXisto
adi12.50 s6.40 s23.74 s0.276.43 s24.04 s32.8 MB62.9 MBXisto
atax8 ms7 ms18 ms0.390.04 s0.09 s32.4 MB61.9 MBXisto
bicg13 ms7 ms23 ms0.300.04 s0.09 s32.5 MB57.3 MBXisto
cholesky1.99 s1.99 s2.82 s0.717.96 s106.63 s63.0 MB90.3 MBXisto
correlation7.30 s731 ms14.83 s0.050.75 s14.93 s25.9 MB53.6 MBXisto
covariance7.34 s726 ms14.74 s0.050.75 s14.82 s25.9 MB51.7 MBXisto
deriche462 ms167 ms1.10 s0.150.27 s1.39 s138.4 MB191.6 MBXisto
doitgen740 ms91 ms2.03 s0.040.12 s2.13 s29.0 MB64.7 MBXisto
durbin3 ms4 ms13 ms0.310.00 s0.03 s1.9 MB24.1 MBXisto
fdtd-2d1.58 s1.76 s8.05 s0.221.78 s8.28 s29.5 MB57.6 MBXisto
floyd-warshall18.10 s11.23 s37.85 s0.3011.28 s37.93 s32.0 MB56.7 MBXisto
gemm416 ms436 ms3.58 s0.120.47 s3.69 s29.6 MB58.5 MBXisto
gemver31 ms10 ms88 ms0.110.04 s0.18 s32.6 MB58.0 MBXisto
gesummv6 ms3 ms10 ms0.300.03 s0.08 s27.7 MB55.5 MBXisto
gramschmidt6.97 s1.41 s35.02 s0.041.44 s35.11 s31.4 MB58.3 MBXisto
heat-3d2.22 s1.83 s7.89 s0.231.86 s8.00 s31.3 MB64.0 MBXisto
jacobi-1d0 ms1 ms6 ms0.170.00 s0.02 s1.9 MB22.9 MBXisto
jacobi-2d1.41 s1.32 s5.03 s0.261.34 s5.11 s27.8 MB55.8 MBXisto
lu5.68 s2.33 s25.47 s0.098.43 s129.09 s63.1 MB90.6 MBXisto
ludcmp5.27 s2.33 s25.10 s0.098.29 s130.77 s63.2 MB91.2 MBXisto
mvt27 ms6 ms75 ms0.080.04 s0.15 s32.5 MB56.5 MBXisto
nussinov4.32 s4.11 s14.26 s0.294.13 s14.32 s25.9 MB50.7 MBXisto
seidel-2d27.68 s4.84 s31.51 s0.154.87 s31.56 s32.5 MB55.4 MBXisto
symm2.07 s1.21 s11.10 s0.111.23 s11.18 s28.1 MB53.6 MBXisto
syr2k4.61 s1.13 s13.71 s0.081.16 s13.80 s31.4 MB57.1 MBXisto
syrk652 ms541 ms3.53 s0.150.56 s3.60 s22.1 MB47.3 MBXisto
trisolv4 ms3 ms8 ms0.380.03 s0.06 s32.5 MB55.4 MBXisto
trmm1.88 s266 ms6.27 s0.040.28 s6.33 s18.7 MB43.4 MBXisto

Source: bench/results/polybench-2026-11-15-js/polybench-js-ubuntu-xeon-2026-11-15-c53e83d.txt.

Graviton2 (Neoverse N1, arm64, 2 vCPUs)​

Kernel time: Xisto 30 wins, 0 ties, 0 losses.

Graviton2: Bun's time ÷ Xisto's, per kernel (above 1× Xisto is faster)
05101520252mm21×trmm19×doitgen17×3mm16×gramschmidt13×covariance9.96×syrk9.15×correlation9.05×deriche8.83×mvt8.54×gesummv8.50×lu8.36×ludcmp8.23×jacobi-1d8.00×gemm7.90×syr2k7.88×fdtd-2d6.65×durbin6.33×gemver5.85×nussinov5.19×bicg5.00×symm4.00×trisolv4.00×floyd-warshall3.73×adi3.72×seidel-2d3.69×atax3.50×jacobi-2d3.42×heat-3d2.77×cholesky2.03×

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: Bun's peak memory ÷ Xisto's, per kernel (above 1× Xisto uses less)
110100durbin18×jacobi-1d17×trmm2.67×correlation2.48×syrk2.46×covariance2.41×fdtd-2d2.34×gramschmidt2.25×symm2.23×gesummv2.21×jacobi-2d2.19×gemver2.18×doitgen2.18×bicg2.16×mvt2.15×trisolv2.12×adi2.11×gemm2.11×seidel-2d2.10×atax2.08×syr2k2.07×heat-3d2.06×2mm2.02×nussinov1.97×ludcmp1.80×cholesky1.79×lu1.78×floyd-warshall1.78×3mm1.73×deriche1.37×

Peak RSS of each run. Log scale.

kernelC (ref.) kernelXisto kernelBun kernelratioXisto CPUBun CPUXisto memoryBun memoryfaster
2mm6.16 s1.78 s38.17 s0.051.81 s38.27 s37.0 MB74.8 MBXisto
3mm9.94 s2.80 s43.68 s0.062.84 s43.90 s53.0 MB91.6 MBXisto
adi12.05 s10.27 s38.17 s0.2710.29 s38.42 s32.5 MB68.7 MBXisto
atax6 ms6 ms21 ms0.290.03 s0.10 s31.9 MB66.4 MBXisto
bicg14 ms4 ms20 ms0.200.03 s0.10 s32.0 MB69.1 MBXisto
cholesky1.96 s1.58 s3.20 s0.4913.72 s164.97 s62.6 MB112.1 MBXisto
correlation7.32 s2.13 s19.28 s0.112.15 s19.39 s25.4 MB63.1 MBXisto
covariance7.36 s2.01 s20.01 s0.102.02 s20.10 s25.4 MB61.2 MBXisto
deriche330 ms197 ms1.74 s0.110.28 s1.99 s139.3 MB191.4 MBXisto
doitgen631 ms207 ms3.61 s0.060.23 s3.70 s29.3 MB64.0 MBXisto
durbin3 ms3 ms19 ms0.160.00 s0.04 s1.3 MB23.6 MBXisto
fdtd-2d1.93 s1.92 s12.76 s0.151.95 s13.05 s29.2 MB68.3 MBXisto
floyd-warshall23.16 s14.00 s52.25 s0.2714.09 s52.31 s31.6 MB56.3 MBXisto
gemm679 ms647 ms5.11 s0.130.67 s5.24 s29.3 MB61.8 MBXisto
gemver39 ms20 ms117 ms0.170.05 s0.22 s32.0 MB69.9 MBXisto
gesummv6 ms2 ms17 ms0.120.02 s0.08 s27.1 MB59.8 MBXisto
gramschmidt13.42 s2.68 s35.68 s0.082.70 s35.76 s30.9 MB69.6 MBXisto
heat-3d3.50 s3.88 s10.74 s0.363.90 s10.86 s30.7 MB63.1 MBXisto
jacobi-1d1 ms1 ms8 ms0.120.00 s0.02 s1.3 MB22.7 MBXisto
jacobi-2d1.98 s1.96 s6.71 s0.291.98 s6.76 s27.3 MB59.7 MBXisto
lu12.06 s5.40 s45.12 s0.1217.64 s209.06 s62.7 MB111.8 MBXisto
ludcmp10.35 s5.03 s41.40 s0.1217.06 s233.29 s62.6 MB112.5 MBXisto
mvt35 ms13 ms111 ms0.120.04 s0.20 s32.0 MB68.8 MBXisto
nussinov9.93 s7.59 s39.36 s0.197.60 s39.40 s25.4 MB50.1 MBXisto
seidel-2d20.60 s6.81 s25.11 s0.276.84 s25.17 s32.0 MB67.2 MBXisto
symm4.55 s4.33 s17.33 s0.254.35 s17.41 s27.8 MB61.9 MBXisto
syr2k5.85 s2.90 s22.84 s0.132.92 s22.94 s31.1 MB64.5 MBXisto
syrk2.11 s1.01 s9.24 s0.111.03 s9.31 s21.8 MB53.6 MBXisto
trisolv3 ms2 ms8 ms0.250.02 s0.07 s31.9 MB67.7 MBXisto
trmm3.85 s720 ms13.50 s0.050.73 s13.56 s18.2 MB48.6 MBXisto

Source: bench/results/polybench-2026-11-15-js/polybench-js-arm-graviton2-2026-11-15-c5748f6.txt.