algorithms Benchmarks
Performance benchmarks for the algorithms package.
Import Path: github.com/kolosys/synapse/algorithms
No Benchmarks Available
No benchmark results are available for this package. To add benchmarks:
- Create a
*_test.gofile in the package directory - Add benchmark functions following the pattern:
go
func BenchmarkFunctionName(b *testing.B) { for i := 0; i < b.N; i++ { // Your code here } } - Run
proton benchmarkto generate benchmark results
Running Benchmarks
To run benchmarks for this package:
go test -bench=. -benchmem ./algorithmsTo run benchmarks for all packages:
go test -bench=. -benchmem ./...