CUWATCH RESEARCH
Solana benchmark library.
Explore measured compute consumption across Solana programs. Every dataset is generated using the CUWatch Rust benchmarking engine.
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
| Instruction | SPL Token | Token-2022 | CU difference | CU reduction |
|---|---|---|---|---|
| transfer | 4,645 | 1,296 | 3,349 | 72.10% |
| transfer_checked | 6,173 | 1,587 | 4,586 | 74.29% |
Execution validation
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