go-boggle

Learning Golang via Solving a Boggle Board

APACHE-2.0 License

Stars
1
Committers
1

go-boggle

Learning Golang via Solving a Boggle Board

Building / Running

go build ./cmd/boggle
./boggle

Testing

Benchmarking

Benchmarking is a rough guess on how well certain parts of the application will perform. Included in the repo are the baseline benchmarks as baseline.out. Adjustments to the algorithm can be compared to these baselines. If changes happen to these algorithms, the baseline should be updated.

cd internal/gameboard
go test -benchtime 3s -benchmem -run none -bench . > bench.out
benchcmp baseline.out bench.out
cd internal/lexicon
go test -benchtime 3s -benchmem -run none -bench . > bench.out
benchcmp baseline.out bench.out