### Run all benchmarks Source: https://github.com/holiman/uint256/blob/master/README.md Executes all benchmarks with memory allocation statistics using the Go testing tool. ```bash go test -run - -bench . -benchmem ``` -------------------------------- ### Compare benchmark results between branches Source: https://github.com/holiman/uint256/blob/master/README.md Runs a specific benchmark on master and an optimization branch, saving outputs to files, then compares them with benchstat. ```bash git checkout master go test -run - -bench Benchmark_Lsh -benchmem -count=10 > old.txt git checkout opt_branch go test -run - -bench Benchmark_Lsh -benchmem -count=10 > new.txt benchstat old.txt new.txt ```