Yesterday I profiled a simple Anchor program against Native and Pinocchio The results were as you would expect - Anchor had additional overhead that could potentially be removed CU-wise: - Anchor - 4503 CU - Native - 2959 CU - Pinocchio - 1526 CU Now to start trimming the fat
You can find the exact code profiled, a longer writeup, and the methodology here:
S/O to @BanRus for the profiler. It was used to conduct this investigation
Borsa
Borsa25.7.2025
Wrote a Solana program profiler, works with any tool that uses sbpf. Check it out:
3,16K