diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-20 13:57:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-21 09:39:00 +0000 |
commit | 325bc7438ea6356472734b32337081edd577c98f (patch) | |
tree | 65b648ac71ba61e5a17f107b5f13b1c693a35fbb /meta/recipes-graphics/wayland | |
parent | e663d093150926f6b46bb0682cf918fe4d9c460e (diff) | |
download | poky-325bc7438ea6356472734b32337081edd577c98f.tar.gz |
oeqa/logparser: Fix performance issues with ptest log parsing
On the autobuilder a ptest log with 2.1 million lines took around 18 hours to
process. This is clearly crazy.
We can tweak the processing code to:
a) Stop repeatedly joining large strings together (append to a list instead)
b) Use one startswith expression instead of multiple re.search() operations
With this change it takes 18 hours down to around 12s.
[YOCTO #13696]
(From OE-Core rev: 01c9f40b979e36a53e789a6bedd89b6d9557dce3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland')
0 files changed, 0 insertions, 0 deletions