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

Jan. 16, 2018
11:37 a.m.
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.
FYI, Django 2 is about 2x faster than 1.11 on django_template benchmark! It's because Django 1.11 calls force_text() many times for Python 2 compatibility.
https://github.com/django/django/blob/419705bbe84e27c3d5be85f198a0352a672492... https://github.com/django/django/blob/419705bbe84e27c3d5be85f198a0352a672492...
Actually, dropping Python 2 support makes Django faster. It's nice news!
Bests,
2650
Age (days ago)
2650
Last active (days ago)
0 comments
1 participants
participants (1)
-
INADA Naoki