Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pditommaso/gc-count
https://github.com/pditommaso/gc-count
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pditommaso/gc-count
- Owner: pditommaso
- Created: 2014-11-02T09:20:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-02T09:52:01.000Z (about 10 years ago)
- Last Synced: 2024-10-15T09:56:14.360Z (2 months ago)
- Language: Groovy
- Size: 148 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A Groovy vs Java benchmark
============================A performance comparison between Java a Groovy.
It reads a genome file (~ 1_000_000 lines in a text file) counting G,C,A,T nucleotides
(i.e. occurrence of that characters).Result (Mac Book Pro 2.7 GHz Intel Core i7):
Version | Time | count |
------------------------- | -------- | --------- |
gc.java | 427 ms | 0.376217 |
gc_if.groovy (static) | 2430 ms | 0.376217 |
gc_if.groovy (dynamic) | 5039 ms | 0.376217 |
gc_switch.groovy (static) | 19332 ms | 0.376217 |
gc_switch.groovy (dynamic)| 21677 ms | 0.376217 |
gc_array.groovy (static) | 472 ms | 0.376217 |
gc_array.groovy (dynamic) | 1590 ms | 0.376217 |The chromose file used for this benchmark is available for downlaod at this link ftp://ftp.ensembl.org/pub/release-67/fasta/homo_sapiens/dna/Homo_sapiens.GRCh37.67.dna_rm.chromosome.Y.fa.gz