Univention Bugzilla – Bug 52270
Replace xml.etree.cElementTree with lxml.etree
Last modified: 2020-10-28 23:52:22 CET
(In reply to Arvid Requate from comment #1) > lxml.etree might be even better but has a different API. +++ This bug was initially created as a clone of Bug #52253 +++ UMC/SAML-Login performance tests with 82_saml/90_concurrent_saml_login_multiprocessing showed that UMC login would perform better with xml.etree.cElementTree instread of xml.etree.ElementTree. With the C implementation UMC Login performed 29% better. * 90_concurrent_saml_login_multiprocessing against normal UMC: ## 32 cores Mean time per portal login 0.203379382133 Number of logins per second: 4.9169192546 * 90_concurrent_saml_login_multiprocessing against patched UMC: UMC mit xml.etree.cElementTree statt xml.etree.ElementTree ## 32 cores Mean time per portal login 0.157018792152 Number of logins per second: 6.36866445278 The test case was 10 times 50 parallel (multiprocessing) logins.
Created attachment 10540 [details] patch from Arvid