[Django] #29492: Improve speed of compilemessages

7 views
Skip to first unread message

Django

unread,
Jun 13, 2018, 3:30:20 PM6/13/18
to django-...@googlegroups.com
#29492: Improve speed of compilemessages
-------------------------------------+-------------------------------------
Reporter: Claude | Owner: Claude Paroz
Paroz |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: master
Internationalization |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
compilemessages could take advantage of multithreading to speed up po to
mo compilation. I will suggest an approach.

--
Ticket URL: <https://code.djangoproject.com/ticket/29492>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 13, 2018, 4:00:24 PM6/13/18
to django-...@googlegroups.com
#29492: Improve speed of compilemessages
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: master
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Claude Paroz):

[https://github.com/django/django/pull/10048 PR]

On my system, `compilemessages` on the Django source tree took 12 seconds
without the patch, and 5 seconds with the patch. Not bad :-)

--
Ticket URL: <https://code.djangoproject.com/ticket/29492#comment:1>

Django

unread,
Jun 13, 2018, 4:00:33 PM6/13/18
to django-...@googlegroups.com
#29492: Improve speed of compilemessages
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: master
Internationalization |

Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/29492#comment:2>

Django

unread,
Jun 14, 2018, 12:16:02 PM6/14/18
to django-...@googlegroups.com
#29492: Improve speed of compilemessages with multithreading

-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: assigned
Component: | Version: master
Internationalization |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/29492#comment:3>

Django

unread,
Jun 16, 2018, 5:53:33 AM6/16/18
to django-...@googlegroups.com
#29492: Improve speed of compilemessages with multithreading
-------------------------------------+-------------------------------------
Reporter: Claude Paroz | Owner: Claude
Type: | Paroz
Cleanup/optimization | Status: closed
Component: | Version: master
Internationalization |
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz <claude@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"998d7741951c68b194eb9fab02509024bf60949e" 998d7741]:
{{{
#!CommitTicketReference repository=""
revision="998d7741951c68b194eb9fab02509024bf60949e"
Fixed #29492 -- Improved compilemessages speed
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29492#comment:4>

Reply all
Reply to author
Forward
0 new messages