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:37:04 +0000 |
commit | 01c9f40b979e36a53e789a6bedd89b6d9557dce3 (patch) | |
tree | a2be2e0842b92c420eac443b50c0da8cc84dd4d2 /meta/recipes-graphics | |
parent | b266a1ac662405e5bab98657c30b1a13cd86d046 (diff) | |
download | openembedded-core-contrib-01c9f40b979e36a53e789a6bedd89b6d9557dce3.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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
0 files changed, 0 insertions, 0 deletions