Re: [Speed] Update Django from 1.11 to 2.0? What about Python 2.7 and PyPy2?
On Tue, 9 Jan 2018 17:39:33 +0100 Victor Stinner victor.stinner@gmail.com wrote:
2018-01-09 16:42 GMT+01:00 INADA Naoki songofacandy@gmail.com:
We already compare different libraries. For example, pickle is very different between Python 2.7 and 3.6. Even though it's not good for comparing interpreter performance, it's good for people comparing Python 2 and 3.
If Django 2.0 on Python 3.7 is much faster than Django 1.11 on Python 2.7, it's nice carrot for people moving forward.
I agree. Antoine: what do you think?
I disagree. pickle is an integral part of Python, it's versioned *with* Python. Django is not and it's misleading to compare results obtained using two differents of it.
Regards
Antoine.
Ok. So would you be ok to simply drop this benchmark? Or does anyone need it?
http://pyperformance.readthedocs.io/benchmarks.html#django-template
Use the Django template system to build a 150x150-cell HTML table.
Use Context and Template classes of the django.template module.
Other template benchmarks:
- http://pyperformance.readthedocs.io/benchmarks.html#chameleon
- http://pyperformance.readthedocs.io/benchmarks.html#genshi
- http://pyperformance.readthedocs.io/benchmarks.html#mako
Victor
2018-01-09 17:46 GMT+01:00 Antoine Pitrou solipsis@pitrou.net:
On Tue, 9 Jan 2018 17:39:33 +0100 Victor Stinner victor.stinner@gmail.com wrote:
2018-01-09 16:42 GMT+01:00 INADA Naoki songofacandy@gmail.com:
We already compare different libraries. For example, pickle is very different between Python 2.7 and 3.6. Even though it's not good for comparing interpreter performance, it's good for people comparing Python 2 and 3.
If Django 2.0 on Python 3.7 is much faster than Django 1.11 on Python 2.7, it's nice carrot for people moving forward.
I agree. Antoine: what do you think?
I disagree. pickle is an integral part of Python, it's versioned *with* Python. Django is not and it's misleading to compare results obtained using two differents of it.
Regards
Antoine.
Speed mailing list Speed@python.org https://mail.python.org/mailman/listinfo/speed
participants (2)
-
Antoine Pitrou
-
Victor Stinner