MPE/iX - CI Programming for Stability

July 18, 2008 HP World '01 61
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