A.K. Ngo | I'm a PC, Program Counter

TAG | merge sort

Feb/08

24

PHP vs Ruby speed test

I recently found a post on this one particular blog that was doing benchmark for PHP vs Ruby.  The author of the blog wrote merge sort in PHP, Ruby, Perl, Python and C++, then proceeded to test the speed at which they ran.  I found it interesting that this particular merge script written in Ruby took only 3/4 of the a time to run.  So I downloaded his exact scripts that he used and tested on one of my server machines.  The only one I didn’t run was the C++ version of this merge sort.

(more…)

· ·