Merge lp:~benji/launchpad/faster-wadl into lp:launchpad
Proposed by
Benji York
on 2010-11-19
| Status: | Merged |
|---|---|
| Approved by: | Benji York on 2010-11-19 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 12039 |
| Proposed branch: | lp:~benji/launchpad/faster-wadl |
| Merge into: | lp:launchpad |
| Diff against target: |
81 lines (+35/-21) 1 file modified
utilities/create-lp-wadl-and-apidoc.py (+35/-21) |
| To merge this branch: | bzr merge lp:~benji/launchpad/faster-wadl |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Abel Deuring (community) | code | 2010-11-19 | Approve on 2010-11-19 |
|
Review via email:
|
|||
Commit Message
[r=adeuring]
Description of the Change
This branch uses the stdlib multiprocess module to run WADL generation
in parallel subprocesses. This speeds up WADL generation a fair bit:
91.9s to 70.0s on my laptop.
The change was a straight-forward refactoring to lift out the make_files
function and then use it as the target of a Process.
The script can be run by itself like so:
LPCONFIG=
To post a comment you must log in.

Yay, less boredom for staring work on a new branch!