Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

django: on pypy, psyco, unladen swallow or cpython, which one is the fastest? [closed]

Has anyone tried to compare those python implementations?

  • pypy
  • psyco
  • unladen swallow (is it dead?)
  • cpython

I am planning to squeeze something more from my server.

Setup:

  • Django 1.3
  • Python 2.7
  • Psycopg2 1.4
  • apache 2
  • mod_wsgi
  • and... Windows server

I am not a windows fanboy, but it has to be :{ There is some legacy code working on it.

like image 253
Matt Harasymczuk Avatar asked Dec 27 '25 22:12

Matt Harasymczuk


1 Answers

http://reinout.vanrees.org/weblog/2011/06/06/django-and-pypy.html links to some benchmarks that compare pypy and cpython using a small django framework (so I guess it just benchmarks how long it takes to create a view). You may be able to use the same benchmark with other frameworks, though it's far from being an all inclusive speed test.

I believe unladen swallow was discontinued.

like image 187
rogerdpack Avatar answered Dec 30 '25 16:12

rogerdpack



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!