new version of yamlish is out and should solve the T316 issue
Details
Details
- Reviewers
kparal - Maniphest Tasks
- T316: libtaskotron is very slow when submitting 100 000 lines of output
- Commits
- rLTRNf337a664014e: bump yamlish version
$ time python runtask.py test.yml
with this task formula:
name: ... desc: ... maintainer: ... actions: - name: ... python: file: run.py callable: run export: output - name: ... resultsdb: results: ${output}
run.py:
# -*- coding: utf-8 -*- from libtaskotron import check from libtaskotron.logger import log def run(): output = u"""muahaha some crappy output olol: ok notok: olol blah !!ONE!1!1!šiška """ detail = check.CheckDetail("blah", check.ReportType.KOJI_BUILD, "PASSED", "blah blah", [output for _ in range(20000)]) log.debug("exporing TAP") tapout = check.export_TAP(detail) log.debug("TAP exported") return tapout if __name__ == '__main__': tapout = run() for result in tapout: print result
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.