Re: [Speed] Update Django from 1.11 to 2.0? What about Python 2.7 and PyPy2?

Why do you want to drop it? It's a piece of Python code which does lots of string manipulation, so it's a very good benchmark to compare different Python versions and/or different Python implementations.
If the reason is "this is no longer going to represent the overall performance of django because the newest version of django uses something different", then I suggest to simply change the name of the benchmark.
On Tue, Jan 9, 2018 at 5:51 PM, Victor Stinner <victor.stinner@gmail.com> wrote:
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
Speed mailing list Speed@python.org https://mail.python.org/mailman/listinfo/speed
participants (1)
-
Antonio Cuni