Skip to content

add fqcnt_go2.go#22

Open
shenwei356 wants to merge 1 commit intolh3:masterfrom
shenwei356:add-fqcnt_go2
Open

add fqcnt_go2.go#22
shenwei356 wants to merge 1 commit intolh3:masterfrom
shenwei356:add-fqcnt_go2

Conversation

@shenwei356
Copy link

@shenwei356 shenwei356 commented Oct 15, 2021

Added a faster Go version using bio lib. It's compiled with go 1.17

Benchmark (CPU: AMD Ryzen 7 2700X Eight-Core Processor, 3.7 GHz)

app gzip plain
fqcnt_needletail 5.924 0.733
fqcnt_c1_kseq 7.402 1.115
fqcnt_rustbio 7.413 2.331
fqcnt_nim1_klib 8.059 1.781
fqcnt_go2 8.987 1.166
fqcnt_go1 23.058 3.534

The Go standard library that gzip fqcnt_go1 uses is very slow, fqcnt_go2 uses a faster version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant