Microbiology / JuliaPerlBenchmark

A Basic Benchmark Comparison of Perl and Julia
1 stars 6 forks source link

fix bug of Julia and Perl verions, add Go version #6

Closed shenwei356 closed 7 years ago

shenwei356 commented 7 years ago

Old Julia and Perl versions treat one line as one FASTA record, which only work for single-line FASTA sequences. However the test data are not.

I'm curious about who's faster between Julia and Go. So I write a Go version (calculate_fasta_median_length.go), a binary file for 64-bit Linux is also provided.

The Go version has a good performance according the result. Of cause, the compilation process was excluded from the tests.

Microbiology commented 7 years ago

This is awesome! Interesting to see how Go performs with this bioinformatics task. I guess it makes sense with respect to the other Julia/Go benchmarking times. This is very cool!