Skip to content

6. Test and Benchmark

Yves Hoebeke edited this page May 29, 2024 · 1 revision

Test and Benchmark

Standard evocation:

A custom flag is provided to see a more detailed test result:

go test -detail

The benchmark will give you the processing times, running through a 10,000 element input slice for all 3 process types, using sha256.Sum256 encoding.

go test -bench=.

Clone this wiki locally