Performance Impact of Object Oriented Programming
Abstract and Figures
It is widely accepted that object-oriented design improves code reusability, facilitates code maintainability and enables higher levels of abstraction. Although the software engineering community has embraced object-oriented programming for these benefits, it has not been clear what performance overheads are associated with this programming paradigm. In this paper, we present some quantitative results based on the performance of a few programs in C and C++. Several programs were profiled and the statistics of several program executions at various compiler optimization levels were generated on two architectures, the MIPS and SPARC. One observation was that in spite of a static code increase in C++, the dynamic instruction counts were either comparable or smaller in C++. However the cache miss ratios and traffic ratios were significantly worse for C++ (often twice). It was also seen that some of the C++ features such as function overloading and free unions did not incur any run time over...
Figures - uploaded by Lizy K. John
All figure content in this area was uploaded by Lizy K. John
Content may be subject to copyright.