You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the support and deployment of applications.
Domain.com operates as a credit bureau.
You are currently developing an Extensible Markup Language (XML) Web service that is destined to allow companies to retrieve credit reports from Domain.com. You created a Performance Session in Microsoft Visual Studio 2005 Team Edition for Software Developers. Following are the measurements you obtained from a Web method named ObtainCreditReport:
* When the Web method is called once: execution time for the method is measured to be 8,340.211 milliseconds memory consumption is measured to be 10,200 Kilobytes (K).
* When the Web method is called twice: total execution time for the method is measured to be 33,360.844 milliseconds memory consumption is measured to be 10.296K.
* When the Web method is called thrice: total execution time for the method is measured to be 133,443.376 milliseconds memory consumption is measured to be 10,264 K.
You need to analyze the performance trends.
What conclusion can you draw?
A.
There is a memory leak.
B.
There is a linear increase in memory consumption.
C.
The Execution time stays constant.
D.
There is an exponential increase in execution time.
Explanation:
The results clearly indicate the each time the method is called; the execution time is increased by a factor of four. Thus your conclusion should be that the execution time increases exponentially.
Incorrect answers:
A: If there is a memory leak, memory consumption must increase each time the method is called. However, in this scenario the memory consumption increases as well as decreases.
B: There is no linear increase in memory consumption as the memory consumption increases as well as decreases.
C: In the event of execution time staying constant, then the total execution time will need to increase linearly. Thus the total execution time for calling the method twice should be 16,680.422 and calling the method a third time should result in total execution time to be 25,020.633, which it isn’t.