|
|
|
|
|
by FooBarWidget
3668 days ago
|
|
That would mean something if Ruby apps are 100% Ruby and/or are performing binary tree operations all the time, or doing similar kinds of CPU-intensive operations as depicted in the alioth benchmarks. But they don't. Ruby web apps perform lots of string manipulation, memory allocation, I/O. A lot of expensive things are offloaded to C libraries. Things like XML parsing are offloaded to native libraries like libxml; nobody uses an XML parser fully implemented in Ruby. Ruby does not reimplemented gzip compression in Ruby, it uses zlib. So the alioth benchmarks are not representative of real-world performance. |
|
regex-dna reads 50MB; k-nucleotide, reverse-complement read 250MB
>> …offloaded to native libraries… So the alioth benchmarks are not representative of real-world performance. <<
The benchmarks game does show C programs ;-)
The benchmarks game does show scripting-languages explicitly using native libraries:
http://benchmarksgame.alioth.debian.org/u64q/program.php?tes...