MPE CI Programming for 7.5
July 22, 2008
Page 9
hp e3000
strategy
UDCs vs. scripts (cont.)
• performance
• logon time:
9 UDC files, 379 UDCs, 6050 lines: 1/2 sec.
most overhead in opening and cataloging the UDC files
– to make logons faster remove unneeded UDCs
• execution time:
identical (within 1 msec) for simple UDCs vs scripts,
however:
– factorial script:
:fac 12 157 msec
– factorial UDC (option recursion):
:facudc 12 100 msec
– file close logging impacts performance for scripts more since they
are opened/closed for each invocation