Skip to content

Slow compress/uncompress performance compared to C and Cgo version lz4 #234

Description

@xin3liang

Slow performance compared to C and Cgo version lz4:

Image

The File pg1661.txt compress/uncompress Benchmarks:
https://github.com/xin3liang/golz4/blob/master-test/lz4_test.go#L705-L707
https://github.com/xin3liang/lz4/blob/v4-test/bench_test.go#L59-L61
https://github.com/inikep/lzbench master

[root@server5 lzbench]# ./lzbench -elz4 ../pg1661.txt
[root@server5 golz4]# go test  -bench="Long" -run=^$
[root@server5 lz4]# go test  -bench="Long" -run=^$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions