Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Faster JAXB element creation
......................................................................
restapi: Faster JAXB element creation
Currently when we need to create a JAXB element we always iterate the
object factory looking for the appropiate method. To improve the
performance of this lookup this patch introduces an index that is
created during startup so that the iteration is done only once.
Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/xml/JAXBProvider.java
1 file changed, 19 insertions(+), 13 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
anmolbabu: Looks good to me, but someone else must approve
--
To view, visit
http://gerrit.ovirt.org/30090
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6f2cc91701ff45a443d3b8b37e8225d7b26c4fa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose(a)redhat.com>
Gerrit-Reviewer: anmolbabu <anbabu(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server