Shader
Measured figures

DocsReference32 of 35 · 2 min read

Measured figures

Compute units and transaction sizes of the program's instructions, measured on a local validator.

Compute units and signed transaction sizes measured on a local validator running the same program build. The settler packs at most 8 lines into one settle transaction, for one credit account. Account rent depends on the cluster; read it with getMinimumBalanceForRentExemption for the sizes under Accounts.

InstructionCompute unitsTransaction bytes
settle, 1 rental line17,385350
settle, 1 generation line with an agent key21,038383
settle, 1 line with an agent key20,652
settle, 8 lines71,777589
settle, 1 sealed line, the job's first (creates RentalMeter)28,341784
settle, 2 sealed lines for one meter40,1571,082
settle, 2 sealed first lines for two jobs44,9331,178
settle with its Ed25519 seal check, through the API35,490
deposit_usdc24,616439
SOL deposit: Jupiter swap to USDC, then deposit_usdc1,108
x402 payment: one USDC transferChecked405429
deposit_shdr23,074
burn_used15,682
sweep_fee_share29,922
withdraw_revenue25,310
fund_earn27,687
stake35,314
unstake23,100
claim28,312