CUWATCH RESEARCH

Solana benchmark library.

Explore measured compute consumption across Solana programs. Every dataset is generated using the CUWatch Rust benchmarking engine.

STUDY 001

SPL Token vs. Token-2022

Standard token transfers using equivalent initial balances and account fixtures.

Programs

2

Measurements

4

Execution engine

Mollusk

Token program compute consumption

Lower compute consumption indicates lower execution cost for the tested workload.

Instruction benchmarks

InstructionSPL TokenToken-2022CU differenceCU reduction
transfer4,6451,2963,34972.10%
transfer_checked6,1731,5874,58674.29%

Execution validation

Successful SVM instruction execution
Deterministic account fixtures
Source balance validation
Destination balance validation
Token conservation invariant
Equivalent transfer amounts

Benchmark scope

These measurements use the token program binaries bundled with Mollusk. Token-2022 is tested without optional extensions. Results represent local instruction execution, not complete mainnet transactions, and should not be generalized to every program version or account configuration.

Download benchmark datasets

Raw JSON generated by the CUWatch Rust CLI.

Experimental methodology

Execution environment
Mollusk SVM
Initial source balance
1,000 tokens
Initial destination balance
0 tokens
Transfer amount
100 tokens
Mint decimals
6
Token-2022 extensions
None
Authority
Single owner
Measurement unit
Compute units

Reproduce this experiment

Run these commands from the CUWatch repository using the committed Cargo.lock dependency versions.

mkdir -p benchmarks/public

# SPL Token
cargo run --locked -- bench-token legacy \
  --output benchmarks/public/spl-token.json

# Token-2022
cargo run --locked -- bench-token token2022 \
  --output benchmarks/public/token-2022.json

# Verify token execution and determinism
cargo test --locked token_runner::tests

Benchmark fixtures are implemented in src/token_runner.rs.

Analyze your own programs

Have benchmark results from your own Solana program? Compare them using our browser-based analysis tool.

Compare benchmark files