summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2022-12-20 09:16:08 +0200
committerKatja Marttila <katja.marttila@qt.io>2022-12-22 10:02:11 +0200
commit7828f6f9c4f49afc4583d67b42ce31323256312a (patch)
tree0de0541c09a22cea188104af8f80a6d3b779a9d6 /tests/auto/tools
parentfa94c6f7bc97a112ec0b27f0e896a92845f2a894 (diff)
Optimize Updates.xml parsing
QDomDocument::setContent is time consuming operation especially when there are thousands of Updates.xml to be parsed. Using QXmlStreamReader for parsing the xml content instead, the Updates.xml content is already validated in metadata job after download. In Windows, using QXmlStreamReader instead of QDomDocument decreases the xml parsing time from ~10 seconds to ~1 seconds when there are thousands of Updates.xml to be parsed. Task-number: QTIFW-2924 Change-Id: I14f5eba5b72f451a12ab4e3bf6b2f00b5f66faaf Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'tests/auto/tools')
0 files changed, 0 insertions, 0 deletions