This is a follow-up of my previous post. Here I change the table to several charts. Hope it seems more friendly to readers. You can find the links to these libraries in that table. Their source codes, including my testing code, are available here. You may also want to see my previous posts in the [...]
Posts Tagged ‘benchmark’
Another Look at my old Benchmark
Posted in development, tagged benchmark, C, cpp, myprog, programming on October 7, 2008 | 24 Comments »
Is There an Overhead to Retrieve an Element in a Struct?
Posted in development, tagged benchmark, C on October 1, 2008 | Leave a Comment »
I was wondering whether retrieving an element in a struct will incur additional overhead. And so I did the following experiment. Here the same array is sorted in two ways: with or without data retrieving from a struct. Both ways yield identical results. The question is whether the compiler knows the two ways are the [...]
Futher Discussion on Search Trees
Posted in development, tagged benchmark, C, cpp, myprog, programming on September 28, 2008 | Leave a Comment »
Over the weekend, I have done a more comprehensive benchmark of various libraries on search trees. Two AVL, seven red-black tree, one Splay tree, two treap implementations are involved, together with seven hash table libraries. As I need to present a big table, I have to write it in a free-style HTML page. You can [...]
C Array vs. C++ Vector
Posted in development, tagged benchmark, C, cpp on September 19, 2008 | 11 Comments »
Here is a piece of source codes that compare C arrays and C++ vectors. It tests six scenarios: a) preallocated C array; b) dynamically growing C array; c) dynamical C vector calling kv_a macro (in my kvec.h); d) dynamical C vector calling kv_push macro (in my kvec.h); e) preallocated C++ vector and f) dynamically growing C++ [...]
Comparison of Hash Table Libraries
Posted in development, tagged benchmark, C, cpp, hash, myprog, programming on August 28, 2008 | 25 Comments »
As a Perl programmer, I enjoy a lot using hash tables. I keep this habit in C/C++ programming. Then what C/C++ hash libraries are available? How are they compared to each other? In this post, I will give a brief review of hash libraries and present a small benchmark showing their practical performance.
Hash table libraries
In [...]
Comparison of Internal Sorting Algorithms
Posted in development, tagged algorithm, benchmark, cpp, myprog, programming on August 28, 2008 | 2 Comments »
Sorting algorithm
Given an array of size N, sorting can be done in O(N log(N)) in average. The most frequently used sorting algorithms that can achieve this time complexity are quicksort, heapsort and mergesort. They usually require O(log(N)), O(1) and O(N) working space, respectively (the space complexity of mergesort can be improved at the cost of [...]
The Best Multialignment Program?
Posted in research, tagged alignment, benchmark, multialignment on August 21, 2008 | Leave a Comment »
Popular multialignment programs include: clustalw, T-coffee, dialign [PMID: 18505568, 10222408], muscle [PMID: 15318951], MAFFT [PMID: 18372315], probcons [PMID: 15687296] and probalign [PMID: 16954142]. Which is the best in practice? You can find various benchmarks in the papers listed above. I only summarize based on my understanding. It is recommended to read their papers in case [...]
Biased Benchmarks on Short Read Aligners: ZOOM
Posted in research, tagged alignment, benchmark, NGS, opinion on August 19, 2008 | Leave a Comment »
ZOOM [PMID:18684737] is still unavailable even when the manuscript goes online. For the time being, there is no way to confirm whether their benchmarks are unbiased. Fortunately, we can collect some information from what they have presented. In the ZOOM paper, the authors give the memory consumption of ZOOM. It is 2.9GB for 12 million [...]