Consultor Eletrônico



Kbase P105526: What is the performance impact of running an empty internal procedure?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/20/2005
Status: Unverified

GOAL:

What is the performance impact of running an empty internal procedure?

FIX:

There is overhead to run an internal procedure (empty or not), however, in the case of an empty internal procedure the impact is minimal. A simple loop of 10,000 iterations that increments an integer variable by one will take about 16 milliseconds on a 2 Ghz Windows XP machine. When the loop is expanded to include a run of an internal procedure which is empty the 10,000 iterations will take about 110 milliseconds (1/10th of one second).