Merge ~chad.smith/cloud-init:cyaml-loading into cloud-init:master
Proposed by
Chad Smith
Status: | Work in progress |
---|---|
Proposed branch: | ~chad.smith/cloud-init:cyaml-loading |
Merge into: | cloud-init:master |
Diff against target: |
110 lines (+36/-6) 4 files modified
cloudinit/safeyaml.py (+7/-3) packages/debian/control.in (+1/-1) requirements.txt (+6/-2) tests/unittests/test_util.py (+22/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Needs Fixing | |
cloud-init Commiters | Pending | ||
Review via email: mp+323088@code.launchpad.net |
Description of the change
[Leaving this branch as work in progress until we have more concrete timing analysis of the impact of loading yam's C-bindings instead of the python implementation]
Use CSafeLoader C-bindings instead of python for a faster yaml.load when processing yaml files.
For faster yaml processing import CSafeLoader in cloudinit/
LP: # 1685939
To test:
tox -r
tox
To post a comment you must log in.
FAILED: Continuous integration, rev:4813c9f9414 558116c003ce889 9c94c03408b74a /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 275/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/275/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/275/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 275/console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/275/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/275/ console
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 275/rebuild
https:/