Conversation
Signed-off-by: qmuntal <qmuntaldiaz@microsoft.com>
thomas-fossati
left a comment
There was a problem hiding this comment.
Looks good (and useful) to me, thanks!
I have inlined a small editorial comment.
bench_test.go
Outdated
| type zeroReader struct{} | ||
|
|
||
| func (zeroReader) Read(b []byte) (int, error) { | ||
| for i := range b { | ||
| b[i] = 0 | ||
| } | ||
| return len(b), nil | ||
| } |
There was a problem hiding this comment.
isn't this a dup of zeroSource in conformance_test.go?
Signed-off-by: qmuntal <qmuntaldiaz@microsoft.com>
|
Few General comments: |
I plan to stick with |
Signed-off-by: qmuntal <qmuntaldiaz@microsoft.com>
This PR adds benchmarks for
Sign1Messagemethods. These benchmarks will be useful later one to do memory and cpu profiling.These are the results on my Windows laptop (use only for reference):
For #52