Web application framework comparison by memory consumption
Memory consumption is slightly specific to my area of software development now, but I did some research recently and maybe these results can be useful for others. Of course, I know that precious comparison is very difficult to carry out, but actually I needed only overall picture. And let me admit that results are pretty interesting and even frustrated (at least for me).
As a basis I took so-starving project, and measured initial RSS (Resident Set Size) of the each process (local development webservers). Platform: x86_64 Linux (latest Ubuntu with all updates).
As a reference, here is the RSS of the interpreters in interactive console mode:
Interpreter Version RSS (kB)
stackless python 2.6.4 3916
ruby (via irb) 1.8.7 4664
python 2.7.1 5624
php 5.3.5 6924
v8 (via node.js shell) 2.5.9.9 8796
One more reference - the most simplest WSGI app ( example in the Python documentation). It's RSS: 7336 Kb , so I assume it's almost impossible to consume ...