Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the real cost of various types of program calls?

COST program types various
0
10 Posted

What is the real cost of various types of program calls?

0
10

*new* Here are some performance measurements which attempt to measure the cost of transferring control from an ILE RPG program to a module written in ILE RPG and to a module written in ILE C. Benchmark Descriptions: LOOPCALL1 uses CALL in a loop which iterates 50,000 times to call a RPG IV program which has no C-specs. LOOPCALLB1 uses CALLB in a loop which iterates 50,000 times to call a RPG IV module which has no C-specs. LOOPCALLB2 uses CALLB in a loop which iterates 50,000 times to call an ILE C function which has no statements. CALLXLATE1 uses CALLB in a loop which iterates 50,000 times to call a RPG IV module which uses XLATE to translate a string which is passed as a parameter to the module. CALLXLATE2 uses CALLB in a loop which iterates 50,000 times to call an ILE C function which uses the XLATEB MI instruction to translate a string which is passed as a parameter to the function.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123