Francesco Romani has uploaded a new change for review. Change subject: performance: switch to cPickle ......................................................................
performance: switch to cPickle profiling of the creation code path shows that the impact of pickle is not negligible. Switch to cPickle for performance. Change-Id: I7b4b7d600c8432c948b795adad0459c318c8164b Signed-off-by: Francesco Romani <[email protected]> --- M vdsm/clientIF.py M vdsm/vm.py 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/60/25860/1 diff --git a/vdsm/clientIF.py b/vdsm/clientIF.py index f8fe499..13c82e0 100644 --- a/vdsm/clientIF.py +++ b/vdsm/clientIF.py @@ -21,7 +21,7 @@ import os import time import threading -import pickle +import cPickle as pickle from xml.dom import minidom import uuid diff --git a/vdsm/vm.py b/vdsm/vm.py index c53f1d4..5732d8f 100644 --- a/vdsm/vm.py +++ b/vdsm/vm.py @@ -26,7 +26,7 @@ from xml.dom.minidom import parseString as _domParseStr import logging import os -import pickle +import cPickle as pickle import tempfile import threading import time -- To view, visit http://gerrit.ovirt.org/25860 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7b4b7d600c8432c948b795adad0459c318c8164b Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Francesco Romani <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
