Merge lp:~benji/launchpad/faster-wadl into lp:launchpad
Proposed by
Benji York
Status: | Merged |
---|---|
Approved by: | Benji York |
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 | Approve | |
Review via email: mp+41315@code.launchpad.net |
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!