Benchmark Solana SBF compute-unit usage across Rust math libraries.
Each math library is tested in its own crate under crates/ so generated
svm-unit-test programs only depend on the library being measured.
fixedrust-decimalhylo-fixspl-math
Run all workspace tests:
just testRun one library and print only CU readings:
just fixed
just rust-decimal
just hylo-fix
just spl-mathCompare libraries:
just compare fixed rust-decimal hylo-fix spl-mathOr compare between all libraries:
just compare-allSave comparison output as CSV:
just compare-save fixed rust-decimal hylo-fix spl-mathCompare and save output of all libraries:
just compare-save-allMost library crates use upstream svm-unit-test. hylo-fix and spl-math use
the local svm-unit-test-std wrapper because their generated SBF tests pull in
std, which conflicts with the upstream no-std panic handler.
See CONTRIBUTING.md.