go/neo/t/neotest: bench-cpu += unzlib for wczblk1 and prod1 objects
NEO uses zlib compression for data, and this way client has to spend time decompressing it. Benchmark how much time zlib decompression takes. With stdlib zlib decompressor out of the box it looks like: name time/op unzlib/py/wczdata 20.7µs ± 2% unzlib/go/wczdata 70.6µs ± 0% unzlib/py/prod1-avg 4.02µs ± 1% unzlib/go/prod1-avg 15.2µs ± 0% i.e. much not in favour of Go. We'll be fixing that in the following patches.
Showing
go/internal/xzlib/xzlib.go
0 → 100644
go/neo/t/gen-testdata
0 → 100755
File added
File added
File added
File added
File added
File added
Please register or sign in to comment