go-heaps icon indicating copy to clipboard operation
go-heaps copied to clipboard

Add benchmarks

Open theodesp opened this issue 7 years ago • 4 comments

Add benchmark testing

theodesp avatar Sep 28 '18 21:09 theodesp

Hi Theofanis,

I am interested in helping you benchmark your library.

I was thinking of using the Go testing package built-in benchmark facility to test your code, similar to this post.

What do you think ?

pbgnz avatar Oct 01 '18 17:10 pbgnz

Sure go ahead. Try to get a few extra hints from this guide here: https://github.com/golang/go/wiki/Performance

For example: heap allocations and unnecessary escapes Garbage collection

theodesp avatar Oct 01 '18 17:10 theodesp

@theodesp Any luck with any benchmarks?

theodesp avatar Oct 14 '18 20:10 theodesp

It can?

spinales avatar Oct 09 '20 01:10 spinales