E&S CVS Commit: PEAK - Squeezed another 132ms out... I think this is as much improvement as I can

pje at eby-sarna.com pje at eby-sarna.com
Mon Nov 18 16:42:00 EST 2002


Module Name:	PEAK
Committed By:	pje
Date:		Mon Nov 18 21:41:06 UTC 2002

Modified Files:
	PEAK/src/peak/util: Code.py

Log Message:
Squeezed another 132ms out...  I think this is as much improvement as I can
get out of the existing arrangements, without a major rewrite of
peak.config.modules.prepForSimulation() and probably most of peak.util.Code
as well, including a conversion of some of this to Pyrex and/or pure C.
Currently the system spends 4.5 seconds in prepForSimulation() and its
subcalls, loading the UML metamodel.  This is too much time to spend to
load a mere ~130 element classes, even granted that the system does a lot
of metaclass work to establish XMI maps, attribute descriptor names, etc.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/util/Code.py.diff?r1=1.11&r2=1.12

To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 PEAK/src/peak/util/Code.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list